:root {
  --adobe-blue: #1473e6;
  --adobe-blue-hover: #0d66d0;
  --adobe-blue-dark: #095aba;
  --adobe-red: #e34850;
  --adobe-red-hover: #d7373f;
  --adobe-green: #2d9d78;
  --adobe-green-hover: #268d6b;
  --adobe-orange: #f29423;
  --adobe-purple: #9256d9;
  --gray-50: #fff;
  --gray-75: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eaeaea;
  --gray-300: #e1e1e1;
  --gray-400: #cacaca;
  --gray-500: #b3b3b3;
  --gray-600: #8e8e8e;
  --gray-700: #6e6e6e;
  --gray-800: #4b4b4b;
  --gray-900: #2c2c2c;
  --primary-color: var(--adobe-blue);
  --primary-hover: var(--adobe-blue-hover);
  --bg-color: var(--gray-100);
  --bg-secondary: var(--gray-75);
  --bg-tertiary: var(--gray-50);
  --text-color: var(--gray-900);
  --text-secondary: var(--gray-700);
  --text-muted: var(--gray-600);
  --border-color: var(--gray-300);
  --border-light: var(--gray-200);
  --error-color: var(--adobe-red);
  --success-color: var(--adobe-green);
  --warning-color: var(--adobe-orange);
  --white: var(--gray-50);
  --shadow-sm: 0 1px 3px #00000014;
  --shadow: 0 2px 6px #0000001a;
  --shadow-md: 0 4px 12px #0000001f;
  --shadow-lg: 0 8px 24px #00000026;
  --shadow-xl: 0 16px 48px #0000002e;
  --transition-fast: .15s cubic-bezier(.4, 0, .2, 1);
  --transition-base: .25s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .35s cubic-bezier(.4, 0, .2, 1);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --code-bg: #1e1e1e;
  --code-text: #d4d4d4;
  --code-border: var(--gray-800);
  --phase-pending: var(--gray-400);
  --phase-active: var(--adobe-blue);
  --phase-complete: var(--adobe-green);
}

[data-theme="dark"] {
  --gray-50: #1a1a1a;
  --gray-75: #202020;
  --gray-100: #262626;
  --gray-200: #333;
  --gray-300: #404040;
  --gray-400: #525252;
  --gray-500: #6b6b6b;
  --gray-600: #8c8c8c;
  --gray-700: #a3a3a3;
  --gray-800: #d4d4d4;
  --gray-900: #ededed;
  --bg-color: var(--gray-100);
  --bg-secondary: var(--gray-75);
  --bg-tertiary: var(--gray-50);
  --text-color: var(--gray-900);
  --text-secondary: var(--gray-700);
  --text-muted: var(--gray-600);
  --border-color: var(--gray-300);
  --border-light: var(--gray-200);
  --white: var(--gray-50);
  --shadow-sm: 0 1px 3px #0000004d;
  --shadow: 0 2px 6px #0006;
  --shadow-md: 0 4px 12px #00000080;
  --shadow-lg: 0 8px 24px #0009;
  --shadow-xl: 0 16px 48px #000000b3;
  --code-bg: #0d0d0d;
  --code-text: #e0e0e0;
  --code-border: var(--gray-300);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, var(--gray-75) 0%, var(--gray-100) 100%);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  line-height: 1.6;
}

.app-container {
  background: var(--gray-75);
  flex-direction: column;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.app-header {
  background: linear-gradient(90deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 100;
  backdrop-filter: blur(10px);
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  display: flex;
}

.app-header h1 {
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--white) 0%, #ffffffd9 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.75rem;
  font-weight: 700;
}

.home-button {
  color: var(--white);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  background: #ffffff26;
  border: 1px solid #ffffff40;
  padding: .625rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
}

.home-button:hover {
  box-shadow: var(--shadow-sm);
  background: #ffffff40;
  border-color: #fff6;
  transform: translateY(-1px);
}

.user-info {
  opacity: .95;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  background: #ffffff1a;
  align-items: center;
  gap: .75rem;
  padding: .5rem 1rem;
  font-size: .9rem;
  display: flex;
}

.user-info button {
  color: var(--white);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: 1px solid #ffffff4d;
  padding: .375rem .875rem;
  font-size: .85rem;
  font-weight: 500;
}

.user-info button:hover {
  background: #ffffff26;
  border-color: #ffffff80;
}

.header-icon-buttons {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.icon-button {
  color: var(--white);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
  background: #ffffff1a;
  border: 1px solid #fff3;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: .5rem;
  font-size: 1.25rem;
  display: flex;
  position: relative;
  overflow: hidden;
}

.icon-button .icon {
  transition: all var(--transition-base);
  display: inline-block;
}

.icon-button .icon-label {
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  letter-spacing: .02em;
  font-size: .75rem;
  font-weight: 600;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.icon-button:hover {
  width: auto;
  box-shadow: var(--shadow-sm);
  background: #fff3;
  border-color: #fff6;
  padding: .625rem 1.5rem;
  transform: translateY(-1px);
}

.icon-button:hover .icon {
  opacity: 0;
  transform: scale(.8);
}

.icon-button:hover .icon-label {
  opacity: 1;
  transform: translateX(-50%)scale(1);
}

.main-layout {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  height: calc(100vh - 90px);
  padding: 2rem;
  display: grid;
  overflow: hidden;
}

.section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  flex-direction: column;
  padding: 2rem;
  display: flex;
  overflow-y: auto;
}

.section:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.session-list-container, .pipeline-manager-container {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.session-list-header {
  border-bottom: 2px solid var(--gray-200);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  display: flex;
}

.session-list-header h2 {
  letter-spacing: -.02em;
  color: var(--gray-900);
  font-size: 1.5rem;
  font-weight: 700;
}

.new-chat-button {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow);
  letter-spacing: .01em;
  border: none;
  padding: .75rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
}

.new-chat-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--adobe-blue-hover) 0%, var(--adobe-blue) 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.new-chat-button:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.chat-list, .pipeline-list {
  flex: 1;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}

.chat-list li, .pipeline-list li {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--gray-75);
  margin-bottom: .75rem;
  padding: 1.25rem;
}

.chat-list li:hover, .pipeline-list li:hover {
  background: var(--white);
  border-color: var(--adobe-blue);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.chat-list li.selected, .pipeline-list li.selected {
  border-left: 4px solid var(--adobe-blue);
  border-color: var(--adobe-blue);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, #1473e614 0%, #1473e60a 100%);
  padding-left: calc(1.25rem - 3px);
}

.chat-item, .pipeline-item {
  flex-direction: column;
  gap: .625rem;
  display: flex;
}

.chat-name-display, .pipeline-name {
  color: var(--gray-900);
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
}

.chat-name {
  flex: 1;
}

.edit-button {
  color: var(--adobe-blue);
  cursor: pointer;
  opacity: .7;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  padding: .375rem .625rem;
  font-size: 1rem;
}

.edit-button:hover {
  opacity: 1;
  background: #1473e614;
}

.chat-name-edit {
  align-items: center;
  gap: .625rem;
  display: flex;
}

.chat-name-input {
  border: 2px solid var(--adobe-blue);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  flex: 1;
  padding: .5rem .75rem;
  font-size: .9rem;
}

.chat-name-input:focus {
  border-color: var(--adobe-blue-dark);
  outline: none;
  box-shadow: 0 0 0 3px #1473e61a;
}

.save-button, .cancel-button {
  background: var(--adobe-blue);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 500;
}

.save-button:hover {
  background: var(--adobe-blue-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.cancel-button {
  background: var(--gray-600);
}

.cancel-button:hover {
  background: var(--gray-700);
}

.chat-meta, .pipeline-meta {
  color: var(--gray-600);
  justify-content: space-between;
  gap: 1rem;
  font-size: .85rem;
  display: flex;
}

.pipeline-actions {
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: .75rem;
  display: flex;
}

.action-button {
  background: var(--adobe-blue);
  color: var(--white);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  border: none;
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 500;
}

.action-button:hover {
  background: var(--adobe-blue-hover);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.delete-button {
  background: var(--adobe-red);
}

.delete-button:hover {
  background: var(--adobe-red-hover);
}

.chat-view {
  background: none;
  height: calc(100vh - 90px);
  padding: 2rem;
}

.chatbot-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  height: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.chatbot-messages {
  background: linear-gradient(to bottom, var(--gray-75) 0%, var(--white) 20%);
  flex-direction: column;
  flex: 1;
  gap: 1.5rem;
  padding: 2rem;
  display: flex;
  overflow-y: auto;
}

.message {
  border-radius: var(--radius-lg);
  max-width: 80%;
  box-shadow: var(--shadow-sm);
  border: 1px solid #0000;
  margin: .5rem 0;
  padding: 1.25rem 1.5rem;
  animation: .4s cubic-bezier(.4, 0, .2, 1) fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.message.user {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: var(--white);
  border-bottom-right-radius: var(--radius-sm);
  align-self: flex-end;
  margin-left: auto;
}

.message.assistant {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: var(--radius-sm);
  align-self: flex-start;
  margin-right: auto;
}

.message-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.6;
}

@keyframes bounce {
  0%, 60%, 100% {
    opacity: .7;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-12px);
  }
}

.file-upload-choices {
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  display: flex;
}

.choice-button {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  letter-spacing: .01em;
  border: none;
  padding: 2rem 3rem;
  font-size: 1.15rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.choice-button:before {
  content: "";
  background: linear-gradient(90deg, #0000, #fff3, #0000);
  width: 100%;
  height: 100%;
  transition: left .5s;
  position: absolute;
  top: 0;
  left: -100%;
}

.choice-button:hover:before {
  left: 100%;
}

.choice-button:hover {
  background: linear-gradient(135deg, var(--adobe-blue-hover) 0%, var(--adobe-blue) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.chatbot-input-container {
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  gap: 1rem;
  padding: 1.5rem 2rem;
  display: flex;
  box-shadow: 0 -4px 12px #0000000a;
}

.chatbot-input {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  background: var(--gray-75);
  flex: 1;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
}

.chatbot-input:focus {
  border-color: var(--adobe-blue);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 4px #1473e61a;
}

.chatbot-send-button {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow);
  letter-spacing: .02em;
  border: none;
  padding: 1rem 2rem;
  font-size: .95rem;
  font-weight: 600;
}

.chatbot-send-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--adobe-blue-hover) 0%, var(--adobe-blue) 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.chatbot-send-button:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

pre {
  border-radius: var(--radius-md);
  background: #1e1e1e;
  margin: 0;
  padding: 1.5rem;
  font-size: .9rem;
  line-height: 1.6;
  overflow-x: auto;
}

.pipeline-details {
  background: var(--white);
  width: 50%;
  height: calc(100vh - 90px);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  border-left: 1px solid var(--gray-200);
  animation: .3s cubic-bezier(.4, 0, .2, 1) slideIn;
  position: fixed;
  top: 90px;
  right: 0;
  overflow-y: auto;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pipeline-details-header {
  border-bottom: 2px solid var(--gray-200);
  background: linear-gradient(to bottom, var(--white) 0%, var(--gray-75) 100%);
  z-index: 10;
  backdrop-filter: blur(10px);
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 2rem;
  display: flex;
  position: sticky;
  top: 0;
}

.pipeline-details-header h3 {
  color: var(--gray-900);
  letter-spacing: -.02em;
  font-size: 1.5rem;
  font-weight: 700;
}

.auth-required, .loading-screen {
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

.auth-required:before, .loading-screen:before {
  content: "";
  background: radial-gradient(circle at 20%, #3478f614 0%, #0000 50%), radial-gradient(circle at 80%, #9333ea14 0%, #0000 50%);
  width: 100%;
  height: 100%;
  animation: 15s ease-in-out infinite float;
  position: absolute;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.auth-required > * {
  z-index: 1;
  position: relative;
}

.auth-required .logo {
  filter: drop-shadow(0 4px 12px #0000001a);
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
}

.auth-required h2 {
  color: #1a202c;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.auth-required p {
  color: #4a5568;
  max-width: 400px;
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
}

.auth-required button, .btn-primary {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, #2563eb 100%);
  color: var(--white);
  cursor: pointer;
  letter-spacing: .01em;
  border: none;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 14px #3478f666;
}

.auth-required button:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #3478f680;
}

.auth-required button:active, .btn-primary:active {
  transform: translateY(0);
}

.loading-screen h2 {
  letter-spacing: -.03em;
  z-index: 1;
  color: #1a202c;
  margin-bottom: .5rem;
  font-size: 3rem;
  font-weight: 700;
  position: relative;
}

.loading-screen p {
  z-index: 1;
  color: #4a5568;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 400;
  position: relative;
}

.login-screen {
  z-index: 10000;
  animation: .4s ease-out fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

.login-left-panel {
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  flex-direction: column;
  flex: 1;
  justify-content: center;
  padding: 3rem;
  display: flex;
  position: relative;
  overflow: hidden;
}

.login-left-panel:before {
  content: "";
  background: radial-gradient(circle at 30% 70%, #3b82f626 0%, #0000 50%), radial-gradient(circle at 70% 30%, #9333ea1a 0%, #0000 50%);
  width: 200%;
  height: 200%;
  animation: 20s ease-in-out infinite floatGradient;
  position: absolute;
  top: -50%;
  left: -50%;
}

@keyframes floatGradient {
  0%, 100% {
    transform: translate(0)rotate(0);
  }

  33% {
    transform: translate(2%, 2%)rotate(1deg);
  }

  66% {
    transform: translate(-1%, 1%)rotate(-1deg);
  }
}

.login-left-panel:after {
  content: "";
  background: linear-gradient(90deg, #0000, #ffffff1a, #0000);
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.login-brand {
  z-index: 1;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  display: flex;
  position: relative;
}

.login-logo {
  filter: drop-shadow(0 4px 12px #0000004d);
  width: 56px;
  height: 56px;
  animation: 6s ease-in-out infinite logoFloat;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.login-brand-name {
  letter-spacing: -.02em;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.75rem;
  font-weight: 700;
}

.login-tagline {
  z-index: 1;
  margin-bottom: 3rem;
  position: relative;
}

.login-tagline h2 {
  letter-spacing: -.03em;
  margin: 0 0 1rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  animation: .6s ease-out .2s both slideInLeft;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.login-tagline p {
  color: #ffffffb3;
  margin: 0;
  font-size: 1.125rem;
  animation: .6s ease-out .4s both slideInLeft;
}

.login-features {
  z-index: 1;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  position: relative;
}

.login-feature {
  background: #ffffff0d;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  transition: all .3s;
  animation: .5s ease-out both slideInLeft;
  display: flex;
}

.login-feature:first-child {
  animation-delay: .5s;
}

.login-feature:nth-child(2) {
  animation-delay: .6s;
}

.login-feature:nth-child(3) {
  animation-delay: .7s;
}

.login-feature:hover {
  background: #ffffff1a;
  border-color: #ffffff26;
  transform: translateX(4px);
}

.login-feature-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
}

.login-feature-text {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.login-feature-text strong {
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}

.login-feature-text span {
  color: #fff9;
  font-size: .85rem;
}

.login-footer-text {
  z-index: 1;
  color: #fff6;
  font-size: .85rem;
  animation: .5s ease-out 1s both fadeIn;
  position: relative;
}

.login-right-panel {
  background: linear-gradient(#f8fafc 0%, #f1f5f9 100%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 480px;
  padding: 3rem;
  display: flex;
  position: relative;
}

[data-theme="dark"] .login-right-panel {
  background: linear-gradient(#1e1e1e 0%, #151515 100%);
}

.login-card {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 360px;
  padding: 2.5rem;
  animation: .5s ease-out .3s both slideUp;
  box-shadow: 0 4px 6px #00000005, 0 12px 24px #0000000f, 0 24px 48px #0000000a;
}

[data-theme="dark"] .login-card {
  background: #262626;
  box-shadow: 0 4px 6px #0000001a, 0 12px 24px #0003;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-card-logo {
  filter: drop-shadow(0 2px 8px #1473e633);
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
}

.login-card-header h3 {
  color: #1a202c;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

[data-theme="dark"] .login-card-header h3 {
  color: #ededed;
}

.login-card-header p {
  color: #64748b;
  margin: 0;
  font-size: .95rem;
}

[data-theme="dark"] .login-card-header p {
  color: #a3a3a3;
}

.login-btn-primary {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, #2563eb 100%);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px #2563eb59;
}

.login-btn-primary:before {
  content: "";
  background: linear-gradient(90deg, #0000, #fff3, #0000);
  width: 100%;
  height: 100%;
  transition: left .5s;
  position: absolute;
  top: 0;
  left: -100%;
}

.login-btn-primary:hover:before {
  left: 100%;
}

.login-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #2563eb73;
}

.login-btn-primary:active {
  transform: translateY(0);
}

.login-btn-icon {
  font-size: 1.1rem;
}

.login-divider {
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  display: flex;
}

.login-divider:before, .login-divider:after {
  content: "";
  background: linear-gradient(90deg, #0000, #e2e8f0, #0000);
  flex: 1;
  height: 1px;
}

[data-theme="dark"] .login-divider:before, [data-theme="dark"] .login-divider:after {
  background: linear-gradient(90deg, #0000, #404040, #0000);
}

.login-divider span {
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
  font-size: .75rem;
}

.login-security-badges {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  display: flex;
}

.security-badge {
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: .375rem .75rem;
  font-size: .75rem;
}

[data-theme="dark"] .security-badge {
  color: #a3a3a3;
  background: #333;
  border-color: #404040;
}

.login-help-text {
  color: #64748b;
  margin-top: 2rem;
  font-size: .875rem;
  animation: .5s ease-out .8s both fadeIn;
}

.login-help-text a {
  color: var(--adobe-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.login-help-text a:hover {
  color: var(--adobe-blue-hover);
  text-decoration: underline;
}

@media (width <= 900px) {
  .login-screen {
    flex-direction: column;
  }

  .login-left-panel {
    min-height: auto;
    padding: 2rem;
  }

  .login-tagline h2 {
    font-size: 1.75rem;
  }

  .login-features {
    display: none;
  }

  .login-right-panel {
    flex: 1;
    width: 100%;
    padding: 2rem;
  }
}

.app-header .logo {
  width: auto;
  height: 65px;
  margin-right: 1rem;
}

.close-button {
  cursor: pointer;
  color: var(--gray-600);
  transition: all var(--transition-fast);
  border-radius: var(--radius);
  background: none;
  border: none;
  padding: .5rem;
  font-size: 1.5rem;
  line-height: 1;
}

.close-button:hover {
  color: var(--gray-900);
  background: var(--gray-100);
  transform: rotate(90deg);
}

.pipeline-details-content {
  padding: 2rem;
}

.artifact-section {
  margin-bottom: 2.5rem;
}

.artifact-section h4 {
  color: var(--adobe-blue);
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.repo-name-section {
  background: linear-gradient(135deg, var(--gray-75) 0%, var(--white) 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--adobe-blue);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}

.repo-name-display, .repo-name-edit {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.repo-name-label {
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .9rem;
  font-weight: 700;
}

.repo-name-value {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.repo-name-value code {
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
  background: #fff;
  flex: 1;
  padding: .75rem 1.25rem;
  font-family: Courier New, SF Mono, monospace;
  font-size: .95rem;
}

.edit-repo-btn {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: #fff;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  border: none;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
}

.edit-repo-btn:hover {
  background: linear-gradient(135deg, var(--adobe-blue-hover) 0%, var(--adobe-blue) 100%);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.repo-name-input {
  border: 2px solid var(--adobe-blue);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  padding: .75rem;
  font-family: Courier New, SF Mono, monospace;
  font-size: .95rem;
}

.repo-name-input:focus {
  border-color: var(--adobe-blue-dark);
  outline: none;
  box-shadow: 0 0 0 4px #1473e626;
}

.repo-name-actions {
  gap: .75rem;
  display: flex;
}

.save-repo-btn, .cancel-repo-btn {
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
}

.save-repo-btn {
  background: linear-gradient(135deg, var(--adobe-green) 0%, var(--adobe-green-hover) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.save-repo-btn:hover {
  background: linear-gradient(135deg, var(--adobe-green-hover) 0%, var(--adobe-green) 100%);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.cancel-repo-btn {
  background: var(--gray-300);
  color: var(--gray-800);
}

.cancel-repo-btn:hover {
  background: var(--gray-400);
  transform: translateY(-1px);
}

.repo-name-hint {
  color: var(--gray-600);
  font-size: .85rem;
  font-style: italic;
}

.metadata-table table {
  border-collapse: collapse;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metadata-table th, .metadata-table td {
  border: 1px solid var(--gray-300);
  text-align: left;
  padding: .875rem;
}

.metadata-table th {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-75) 100%);
  color: var(--gray-900);
  letter-spacing: .01em;
  font-weight: 700;
}

.requirements-text, .infrastructure-text {
  background: linear-gradient(135deg, var(--gray-75) 0%, var(--white) 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--adobe-blue);
  white-space: pre-wrap;
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  font-family: Courier New, SF Mono, monospace;
  font-size: .9rem;
  line-height: 1.6;
}

.pipeline-info p {
  margin: .75rem 0;
  line-height: 1.6;
}

.pipeline-info strong {
  color: var(--gray-700);
  font-weight: 700;
}

.loading {
  text-align: center;
  color: var(--gray-600);
  padding: 3rem;
  font-size: 1.1rem;
}

.error-message {
  border: 1px solid var(--adobe-red);
  color: var(--adobe-red);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, #e348501a 0%, #e348500d 100%);
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  padding: 1.25rem 1.5rem;
  display: flex;
}

.retry-button {
  background: var(--adobe-red);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 500;
}

.retry-button:hover {
  background: var(--adobe-red-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.empty-state {
  text-align: center;
  color: var(--gray-600);
  padding: 4rem 1rem;
  font-size: 1.1rem;
}

.loading-screen, .auth-required {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: 100vh;
  display: flex;
}

.chatbot-empty {
  height: 100%;
  color: var(--gray-600);
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
}

@media (width <= 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .pipeline-details {
    width: 100%;
  }
}

@media (width <= 768px) {
  .app-header {
    padding: 1rem 1.5rem;
  }

  .app-header h1 {
    font-size: 1.35rem;
  }

  .main-layout {
    gap: 1rem;
    padding: 1rem;
  }

  .message {
    max-width: 92%;
  }

  .file-upload-choices {
    flex-direction: column;
    padding: 2.5rem 1rem;
  }

  .choice-button {
    width: 100%;
    max-width: 320px;
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--gray-400) 0%, var(--gray-500) 100%);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-600) 100%);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-400) var(--gray-100);
}

.chat-actions {
  align-items: center;
  gap: .625rem;
  display: flex;
}

.delete-icon {
  opacity: .6;
  transition: all var(--transition-fast);
  cursor: pointer;
  border-radius: var(--radius);
  padding: .375rem;
}

.delete-icon:hover {
  opacity: 1;
  color: var(--adobe-red);
  background: #e348501a;
  transform: scale(1.1);
}

.file-upload-area {
  text-align: center;
  background: linear-gradient(135deg, var(--gray-75) 0%, var(--white) 100%);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-300);
  transition: all var(--transition-base);
  margin: 1.5rem;
  padding: 2.5rem;
}

.file-upload-area:hover {
  border-color: var(--adobe-blue);
  background: var(--white);
}

.file-upload-area p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.uploaded-files-list {
  background: var(--gray-75);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin: 1.5rem;
  padding: 1.5rem;
}

.uploaded-files-list h4 {
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.uploaded-files-list ul {
  margin-bottom: 1.5rem;
  padding: 0;
  list-style: none;
}

.uploaded-files-list li {
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
  background: #fff;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
  padding: 1rem 1.25rem;
  display: flex;
}

.uploaded-files-list li:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.uploaded-files-list li.success {
  border-left: 4px solid var(--adobe-green);
}

.uploaded-files-list li.error {
  border-left: 4px solid var(--adobe-red);
}

.uploaded-files-list li span:first-child {
  color: var(--gray-800);
  flex: 1;
  font-weight: 600;
}

.uploaded-files-list li button {
  background: var(--adobe-red);
  color: #fff;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}

.uploaded-files-list li button:hover {
  background: var(--adobe-red-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.file-upload-actions {
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  display: flex;
}

.choice-button.primary {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

.choice-button.primary:hover {
  background: linear-gradient(135deg, var(--adobe-blue-hover) 0%, var(--adobe-blue) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.markdown-table {
  border-collapse: collapse;
  width: 100%;
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  background: #fff;
  margin: 1.5rem 0;
  font-size: .9rem;
  overflow: hidden;
}

.markdown-table thead tr {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: #fff;
  text-align: left;
}

.markdown-table th, .markdown-table td {
  border: 1px solid var(--gray-200);
  padding: 1rem;
}

.markdown-table th {
  letter-spacing: .01em;
  font-weight: 700;
}

.markdown-table tbody tr:nth-child(2n) {
  background: var(--gray-75);
}

.markdown-table tbody tr:hover {
  transition: all var(--transition-fast);
  background: #1473e60d;
}

.code-block-container {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin: 1.25rem 0;
  position: relative;
  overflow: hidden;
}

.code-copy-button {
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  background: #ffffff1a;
  border: 1px solid #fff3;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  position: absolute;
  top: .75rem;
  right: .75rem;
}

.code-copy-button:hover {
  background: #fff3;
  border-color: #fff6;
  transform: translateY(-1px);
}

.message-content pre {
  border-radius: var(--radius-md);
  margin: 0;
}

.message-content code:not(pre code) {
  border-radius: var(--radius-sm);
  color: var(--adobe-blue-dark);
  background: #1473e614;
  padding: .25rem .5rem;
  font-family: Courier New, SF Mono, monospace;
  font-size: .9em;
  font-weight: 500;
}

.message-content p {
  margin: .75rem 0;
  line-height: 1.7;
}

.message-content ul, .message-content ol {
  margin: .75rem 0;
  padding-left: 1.75rem;
}

.message-content li {
  margin: .375rem 0;
  line-height: 1.6;
}

.message-content h1, .message-content h2, .message-content h3, .message-content h4 {
  color: var(--gray-900);
  letter-spacing: -.02em;
  margin: 1.5rem 0 .75rem;
  font-weight: 700;
}

.message-content blockquote {
  border-left: 4px solid var(--adobe-blue);
  color: var(--gray-700);
  border-radius: var(--radius);
  background: #1473e608;
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  font-style: italic;
}

.approval-button-container {
  border-top: 2px dashed var(--gray-300);
  justify-content: flex-start;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  display: flex;
}

.btn-approve {
  background: linear-gradient(135deg, var(--adobe-green) 0%, var(--adobe-green-hover) 100%);
  color: #fff;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  letter-spacing: .02em;
  border: none;
  align-items: center;
  gap: .75rem;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
}

.btn-approve:hover {
  background: linear-gradient(135deg, var(--adobe-green-hover) 0%, var(--adobe-green) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.btn-approve:active {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.code-blocks-section {
  margin-top: 1.5rem;
}

.editable-code-container {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition-base);
  margin: 1.25rem 0;
  overflow: hidden;
}

.editable-code-container:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--adobe-blue);
}

.code-header {
  color: #fff;
  background: linear-gradient(90deg, #2c2c2c 0%, #1e1e1e 100%);
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  display: flex;
}

.code-toggle-button {
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  letter-spacing: .01em;
  background: none;
  border: none;
  flex: 1;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
}

.code-toggle-button:hover {
  opacity: .8;
  transform: translateX(4px);
}

.code-copy-button-inline {
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  background: #ffffff1a;
  border: 1px solid #fff3;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}

.code-copy-button-inline:hover {
  background: #fff3;
  border-color: #fff6;
  transform: translateY(-1px);
}

.code-content-expanded {
  background: var(--gray-75);
  padding: 1.5rem;
}

.code-editor {
  border: 2px solid var(--adobe-blue);
  border-radius: var(--radius-md);
  color: #d4d4d4;
  resize: vertical;
  width: 100%;
  min-height: 300px;
  transition: all var(--transition-fast);
  background: #1e1e1e;
  margin-bottom: 1rem;
  padding: 1.25rem;
  font-family: Courier New, Consolas, Monaco, SF Mono, monospace;
  font-size: .9rem;
  line-height: 1.6;
}

.code-editor:focus {
  border-color: var(--adobe-blue-dark);
  outline: none;
  box-shadow: 0 0 0 4px #1473e626;
}

.code-display {
  color: #d4d4d4;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-800);
  background: #1e1e1e;
  margin-bottom: 1rem;
  padding: 1.25rem;
  font-size: .9rem;
  overflow-x: auto;
}

.code-display code {
  font-family: Courier New, Consolas, Monaco, SF Mono, monospace;
  line-height: 1.6;
}

.code-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .875rem;
  display: flex;
}

.btn-edit-code, .btn-copy-code, .btn-save-code, .btn-cancel-code {
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: .01em;
  border: none;
  padding: .75rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
}

.btn-edit-code {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-edit-code:hover {
  background: linear-gradient(135deg, var(--adobe-blue-hover) 0%, var(--adobe-blue) 100%);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.btn-copy-code {
  background: var(--gray-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-copy-code:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}

.btn-save-code {
  background: linear-gradient(135deg, var(--adobe-green) 0%, var(--adobe-green-hover) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-save-code:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--adobe-green-hover) 0%, var(--adobe-green) 100%);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.btn-save-code:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
  opacity: .6;
  transform: none;
}

.btn-cancel-code {
  background: var(--gray-300);
  color: var(--gray-800);
}

.btn-cancel-code:hover {
  background: var(--gray-400);
  transform: translateY(-2px);
}

.markdown-body {
  font-family: inherit;
  line-height: 1.7;
}

.markdown-body h3 {
  color: var(--gray-900);
  letter-spacing: -.02em;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.markdown-body pre {
  color: #d4d4d4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background-color: #1e1e1e;
  margin: 1.25rem 0;
  padding: 1.25rem;
  overflow-x: auto;
}

.markdown-body code {
  border-radius: var(--radius-sm);
  color: var(--adobe-blue-dark);
  background-color: #1473e614;
  padding: .25em .5em;
  font-family: Courier New, SF Mono, monospace;
  font-size: .9em;
  font-weight: 500;
}

.markdown-body pre code {
  color: #d4d4d4;
  background-color: #0000;
  padding: 0;
  font-weight: normal;
}

.markdown-body table {
  border-collapse: collapse;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow);
  margin: 1.25rem 0;
  overflow: hidden;
}

.markdown-body table th, .markdown-body table td {
  border: 1px solid var(--gray-300);
  text-align: left;
  padding: .75rem;
}

.markdown-body table th {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-75) 100%);
  color: var(--gray-900);
  font-weight: 700;
}

.app-header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.header-left {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.header-center {
  flex: 1;
  justify-content: center;
  max-width: 700px;
  padding: 0 2rem;
  display: flex;
}

.header-actions {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.username {
  font-weight: 500;
}

.logout-btn {
  color: #fff;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: 1px solid #ffffff4d;
  padding: .5rem 1rem;
  font-size: .85rem;
}

.logout-btn:hover {
  background: #ffffff1a;
  border-color: #ffffff80;
}

.sessions-section {
  transition: all var(--transition-base);
  min-width: 280px;
}

.sessions-section.collapsed {
  min-width: 60px;
  max-width: 60px;
  padding: 1rem;
}

.section-header {
  border-bottom: 2px solid var(--gray-200);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  display: flex;
}

.section-header h2 {
  color: var(--gray-900);
  font-size: 1.25rem;
  font-weight: 700;
}

.collapse-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  border-radius: var(--radius-full);
  cursor: pointer;
  width: 32px;
  height: 32px;
  transition: all var(--transition-fast);
  justify-content: center;
  align-items: center;
  font-weight: 600;
  display: flex;
}

.collapse-btn:hover {
  background: var(--adobe-blue);
  border-color: var(--adobe-blue);
  color: #fff;
  transform: scale(1.05);
}

.new-session-btn {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  border: none;
  margin-bottom: 1rem;
  padding: .875rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
}

.new-session-btn:hover {
  background: linear-gradient(135deg, var(--adobe-blue-hover) 0%, var(--adobe-blue) 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.chat-view-new {
  background: var(--bg-color);
  flex-direction: column;
  height: calc(100vh - 90px);
  display: flex;
}

.phase-progress {
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  background: #ffffff1a;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  display: flex;
}

.phase-node {
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  color: #ffffffb3;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  font-size: .8rem;
  font-weight: 600;
  display: flex;
}

.phase-node.pending {
  opacity: .6;
}

.phase-node.active {
  color: #fff;
  background: #fff3;
  box-shadow: 0 0 12px #ffffff4d;
}

.phase-node.complete {
  color: #ffffffe6;
}

.phase-node:hover {
  color: #fff;
  background: #ffffff26;
}

.phase-text {
  font-size: .75rem;
  font-weight: 600;
}

.phase-dot {
  width: 10px;
  height: 10px;
  transition: all var(--transition-fast);
  background: currentColor;
  border-radius: 50%;
}

.phase-node.active .phase-dot {
  animation: 1.5s ease-in-out infinite pulse-dot;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .7;
    transform: scale(1.3);
  }
}

.phase-connector {
  background: #ffffff4d;
  border-radius: 1px;
  width: 20px;
  height: 2px;
}

.phase-connector.active {
  background: #ffffffb3;
}

.theme-toggle {
  color: #fff;
  border-radius: var(--radius-full);
  cursor: pointer;
  width: 40px;
  height: 40px;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  background: #ffffff1a;
  border: 1px solid #ffffff40;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  display: flex;
}

.theme-toggle:hover {
  background: #fff3;
  border-color: #fff6;
  transform: scale(1.05);
}

.loading-spinner-large {
  border: 4px solid var(--gray-200);
  border-top-color: var(--adobe-blue);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: 1s linear infinite spin;
}

.loading-spinner {
  border: 3px solid var(--gray-200);
  border-top-color: var(--adobe-blue);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: 1s linear infinite spin;
}

.chat-loading {
  height: 100%;
  color: var(--gray-500);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  display: flex;
}

.chat-loading p {
  margin: 0;
  font-size: 14px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.approval-card {
  background: linear-gradient(135deg, var(--gray-75) 0%, var(--white) 100%);
  border: 2px solid var(--adobe-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 1rem 0;
  padding: 1.5rem;
}

.approval-card-header {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  display: flex;
}

.approval-card-title {
  color: var(--gray-900);
  align-items: center;
  gap: .5rem;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
}

.approval-badge {
  background: var(--adobe-blue);
  color: #fff;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 600;
}

.approval-card-summary {
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.approval-card-actions {
  flex-wrap: wrap;
  gap: 1rem;
  display: flex;
}

.approval-accept-btn {
  background: linear-gradient(135deg, var(--adobe-green) 0%, var(--adobe-green-hover) 100%);
  color: #fff;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  border: none;
  padding: .75rem 1.5rem;
  font-weight: 600;
}

.approval-accept-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.approval-reject-btn {
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  padding: .75rem 1.5rem;
  font-weight: 600;
}

.approval-reject-btn:hover {
  border-color: var(--adobe-red);
  color: var(--adobe-red);
  background: #e348500d;
}

.approval-feedback-area {
  margin-top: 1rem;
}

.approval-feedback-textarea {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  resize: vertical;
  width: 100%;
  min-height: 80px;
  transition: all var(--transition-fast);
  padding: .75rem;
  font-family: inherit;
  font-size: .95rem;
}

.approval-feedback-textarea:focus {
  border-color: var(--adobe-blue);
  outline: none;
  box-shadow: 0 0 0 3px #1473e61a;
}

.artifact-panel {
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  flex-direction: column;
  height: 100%;
  display: flex;
}

.artifact-panel-header {
  border-bottom: 1px solid var(--gray-200);
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  display: flex;
}

.artifact-tab {
  color: var(--gray-600);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  padding: .5rem 1rem;
  font-weight: 500;
}

.artifact-empty {
  height: 100%;
  color: var(--gray-500);
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  display: flex;
}

.testing-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 1rem;
  overflow: hidden;
}

.testing-panel-header {
  color: #fff;
  background: linear-gradient(90deg, #2c2c2c 0%, #1e1e1e 100%);
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  display: flex;
}

.testing-panel-title {
  font-size: 1rem;
  font-weight: 700;
}

.testing-status-badge {
  border-radius: var(--radius-full);
  text-transform: uppercase;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 600;
}

.testing-status-badge.running {
  background: var(--adobe-blue);
  color: #fff;
  animation: 2s ease-in-out infinite pulse;
}

.testing-status-badge.success {
  background: var(--adobe-green);
  color: #fff;
}

.testing-status-badge.error {
  background: var(--adobe-red);
  color: #fff;
}

.testing-status-badge.idle {
  background: var(--gray-400);
  color: #fff;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.testing-panel-content {
  padding: 1rem;
}

.testing-progress {
  background: var(--gray-200);
  border-radius: 2px;
  height: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.testing-progress-bar {
  background: linear-gradient(90deg, var(--adobe-blue) 0%, var(--adobe-green) 100%);
  height: 100%;
  transition: width var(--transition-base);
}

.testing-logs {
  border-radius: var(--radius-md);
  background: #1e1e1e;
  max-height: 300px;
  padding: 1rem;
  font-family: Courier New, SF Mono, monospace;
  font-size: .85rem;
  line-height: 1.6;
  overflow-y: auto;
}

.testing-log-line {
  color: #d4d4d4;
  margin: .25rem 0;
}

.testing-log-line.info {
  color: #569cd6;
}

.testing-log-line.success {
  color: #4ec9b0;
}

.testing-log-line.error {
  color: #f14c4c;
}

.testing-log-line.warning {
  color: #dcdcaa;
}

.diff-view {
  border-radius: var(--radius-md);
  background: #1e1e1e;
  font-family: Courier New, SF Mono, monospace;
  font-size: .85rem;
  line-height: 1.6;
  overflow: hidden;
}

.diff-line {
  white-space: pre;
  padding: .25rem 1rem;
}

.diff-line.added {
  color: #4ec9b0;
  background: #4ec9b026;
}

.diff-line.removed {
  color: #f14c4c;
  background: #f14c4c26;
}

.diff-line.unchanged {
  color: #d4d4d4;
}

.diff-line-number {
  color: #6e6e6e;
  text-align: right;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 40px;
  padding-right: 1rem;
  display: inline-block;
}

.chat-view {
  background: var(--bg-color);
  flex-direction: column;
  height: calc(100vh - 80px);
  display: flex;
}

.chat-view.three-panel {
  flex-direction: row;
}

.chat-welcome {
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  display: flex;
}

.welcome-content {
  text-align: center;
  max-width: 600px;
}

.welcome-content h2 {
  color: var(--text-color);
  margin-bottom: .5rem;
  font-size: 2rem;
  font-weight: 700;
}

.welcome-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.welcome-choices {
  justify-content: center;
  gap: 1.5rem;
  display: flex;
}

.welcome-choice-card {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  min-width: 200px;
  padding: 2rem;
  display: flex;
}

.welcome-choice-card:hover {
  border-color: var(--adobe-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.choice-icon {
  font-size: 2.5rem;
}

.choice-title {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
}

.choice-desc {
  color: var(--text-muted);
  font-size: .85rem;
}

.upload-pending {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
}

.upload-pending h3 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.uploaded-files-grid {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  display: flex;
}

.uploaded-file-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.5rem;
  display: flex;
}

.uploaded-file-card.success {
  border-color: var(--adobe-green);
}

.uploaded-file-card.error {
  border-color: var(--adobe-red);
}

.file-icon {
  font-size: 1.5rem;
}

.file-name {
  font-weight: 500;
}

.file-status {
  font-size: 1.25rem;
}

.use-case-input {
  width: 100%;
  margin-bottom: 1.5rem;
}

.use-case-input label {
  color: var(--text-color);
  margin-bottom: .5rem;
  font-weight: 600;
  display: block;
}

.use-case-input textarea {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  resize: vertical;
  width: 100%;
  transition: border-color var(--transition-fast);
  padding: 1rem;
  font-family: inherit;
  font-size: 1rem;
}

.use-case-input textarea:focus {
  border-color: var(--adobe-blue);
  outline: none;
}

.upload-actions {
  gap: 1rem;
  display: flex;
}

.upload-actions button {
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: .875rem 1.5rem;
  font-weight: 600;
}

.upload-actions button:first-child {
  border: 2px solid var(--border-color);
  color: var(--text-color);
  background: none;
}

.upload-actions button:first-child:hover {
  border-color: var(--adobe-blue);
  color: var(--adobe-blue);
}

.upload-actions button.primary {
  background: var(--adobe-blue);
  color: #fff;
  border: none;
}

.upload-actions button.primary:hover:not(:disabled) {
  background: var(--adobe-blue-hover);
}

.upload-actions button.primary:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.chat-center-panel {
  background: var(--bg-color);
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.chat-messages {
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  padding: 1.5rem;
  display: flex;
  overflow-y: auto;
}

.chat-message {
  max-width: 85%;
  animation: .3s ease-out messageSlide;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  align-self: flex-end;
}

.chat-message.user .message-content {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, var(--adobe-blue-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg);
}

.chat-message.assistant {
  align-self: flex-start;
}

.chat-message.assistant .message-content {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);
  color: var(--text-color);
}

.chat-message .message-content {
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.25rem;
}

.message-agent-badge {
  background: var(--adobe-blue);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: var(--radius-full);
  margin-bottom: .5rem;
  padding: .25rem .75rem;
  font-size: .7rem;
  font-weight: 600;
  display: inline-block;
}

.view-in-panel-btn {
  border: 1px solid var(--border-color);
  color: var(--adobe-blue);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  margin-top: .75rem;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  display: block;
}

.view-in-panel-btn:hover {
  border-color: var(--adobe-blue);
  background: #1473e60d;
}

.chat-message.streaming .message-content {
  border: 2px solid var(--adobe-blue);
}

.streaming-cursor {
  background: var(--adobe-blue);
  vertical-align: text-bottom;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  animation: 1s step-end infinite blink;
  display: inline-block;
}

.typing-indicator {
  gap: .3rem;
  padding: .5rem;
  display: flex;
}

.typing-indicator span {
  background: var(--adobe-blue);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 1.4s ease-in-out infinite typingBounce;
}

.typing-indicator span:nth-child(2) {
  animation-delay: .2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-8px);
  }
}

.approval-card {
  background: linear-gradient(135deg, var(--gray-75) 0%, var(--white) 100%);
  border: 2px solid var(--adobe-blue);
  border-radius: var(--radius-lg);
  margin: 1rem 0;
  padding: 1.5rem;
  animation: .3s ease-out messageSlide;
}

.approval-card-header {
  margin-bottom: 1rem;
}

.approval-badge {
  background: var(--adobe-blue);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: var(--radius-full);
  padding: .375rem .875rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
}

.approval-summary {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.approval-actions {
  gap: 1rem;
  display: flex;
}

.approve-btn {
  background: linear-gradient(135deg, var(--adobe-green) 0%, var(--adobe-green-hover) 100%);
  color: #fff;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: .75rem 1.5rem;
  font-weight: 600;
}

.approve-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.changes-btn {
  color: var(--text-color);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  padding: .75rem 1.5rem;
  font-weight: 600;
}

.changes-btn:hover {
  border-color: var(--adobe-blue);
  color: var(--adobe-blue);
}

.chat-input-area {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
}

.chat-input-container {
  align-items: flex-end;
  gap: .75rem;
  display: flex;
}

.chat-input-container textarea {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  resize: none;
  transition: border-color var(--transition-fast);
  flex: 1;
  min-height: 44px;
  max-height: 150px;
  padding: .875rem 1rem;
  font-family: inherit;
  font-size: 1rem;
}

.chat-input-container textarea:focus {
  border-color: var(--adobe-blue);
  outline: none;
}

.send-btn {
  background: var(--adobe-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: none;
  padding: .875rem 1.5rem;
  font-weight: 600;
}

.send-btn:hover:not(:disabled) {
  background: var(--adobe-blue-hover);
}

.send-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.input-actions {
  gap: .5rem;
  margin-top: .5rem;
  display: flex;
}

.attach-btn {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  padding: .5rem 1rem;
  font-size: .85rem;
}

.attach-btn:hover {
  border-color: var(--adobe-blue);
  color: var(--adobe-blue);
}

.chat-right-panel {
  border-left: 1px solid var(--border-color);
  background: var(--white);
  width: 400px;
  transition: width var(--transition-base);
  flex-direction: column;
  display: flex;
}

.chat-right-panel.collapsed {
  width: 50px;
}

.right-panel-tabs {
  border-bottom: 1px solid var(--border-color);
  display: flex;
}

.right-panel-tabs button {
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  flex: 1;
  padding: 1rem;
  font-weight: 500;
}

.right-panel-tabs button:hover {
  color: var(--text-color);
  background: var(--gray-75);
}

.right-panel-tabs button.active {
  color: var(--adobe-blue);
  border-bottom-color: var(--adobe-blue);
}

.artifact-panel {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

.artifact-panel.collapsed {
  display: none;
}

.artifact-panel-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--gray-75);
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  display: flex;
}

.artifact-tabs {
  gap: .25rem;
  display: flex;
}

.artifact-tab {
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}

.artifact-tab:hover {
  background: var(--white);
  color: var(--text-color);
}

.artifact-tab.active {
  background: var(--adobe-blue);
  color: #fff;
}

.artifact-actions {
  gap: .5rem;
  display: flex;
}

.diff-toggle {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  background: none;
  padding: .375rem .75rem;
  font-size: .75rem;
  font-weight: 500;
}

.diff-toggle:hover, .diff-toggle.active {
  background: var(--adobe-blue);
  border-color: var(--adobe-blue);
  color: #fff;
}

.collapse-panel-btn {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  background: none;
  padding: .375rem .625rem;
}

.collapse-panel-btn:hover {
  background: var(--gray-100);
}

.artifact-content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.artifact-code {
  color: #d4d4d4;
  border-radius: var(--radius-md);
  background: #1e1e1e;
  margin: 0;
  padding: 1rem;
  font-family: Courier New, SF Mono, monospace;
  font-size: .85rem;
  line-height: 1.6;
  overflow-x: auto;
}

.artifact-code code {
  font-family: inherit;
}

.artifact-footer {
  gap: .5rem;
  padding-top: 1rem;
  display: flex;
}

.copy-btn {
  background: var(--gray-100);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}

.copy-btn:hover {
  background: var(--adobe-blue);
  border-color: var(--adobe-blue);
  color: #fff;
}

.edit-btn, .save-btn, .cancel-btn {
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: .5rem;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}

.edit-btn {
  background: var(--adobe-blue);
  border: 1px solid var(--adobe-blue);
  color: #fff;
}

.edit-btn:hover {
  background: var(--adobe-blue-hover);
  border-color: var(--adobe-blue-hover);
}

.save-btn {
  background: var(--success-color, #2ecc71);
  border: 1px solid var(--success-color, #2ecc71);
  color: #fff;
}

.save-btn:hover:not(:disabled) {
  background: #27ae60;
}

.save-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.cancel-btn {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  background: none;
}

.cancel-btn:hover {
  background: var(--gray-100);
  border-color: var(--text-secondary);
}

.artifact-editor {
  background: var(--bg-color);
  width: 100%;
  height: 100%;
  min-height: 400px;
  color: var(--text-color);
  border: 1px solid var(--adobe-blue);
  border-radius: var(--radius);
  resize: vertical;
  white-space: pre;
  padding: 1rem;
  font-family: Monaco, Menlo, Ubuntu Mono, monospace;
  font-size: .85rem;
  line-height: 1.5;
  overflow: auto;
}

.artifact-editor:focus {
  outline: none;
  box-shadow: 0 0 0 2px #1473e633;
}

.start-test-btn {
  background: var(--adobe-blue);
  border: 1px solid var(--adobe-blue);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
  margin-top: .75rem;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}

.start-test-btn:hover:not(:disabled) {
  background: var(--adobe-blue-hover);
}

.start-test-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.artifact-empty {
  text-align: center;
  height: 100%;
  color: var(--text-muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.artifact-empty-icon {
  opacity: .5;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.artifact-empty p {
  margin-bottom: .25rem;
  font-weight: 500;
}

.artifact-empty span {
  font-size: .85rem;
}

.testing-panel-sidebar {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

.testing-panel-sidebar .testing-panel-header {
  border-bottom: 1px solid var(--border-color);
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  display: flex;
}

.testing-panel-sidebar h3 {
  margin: 0;
  font-size: 1rem;
}

.testing-panel-sidebar .testing-panel-content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.test-section {
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.test-section-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
  display: flex;
}

.test-section h4 {
  color: var(--text-color);
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
}

.test-badge {
  border-radius: var(--radius-full);
  padding: .25rem .5rem;
  font-size: .75rem;
  font-weight: 500;
}

.test-badge.pending {
  background: var(--gray-200);
  color: var(--text-secondary);
}

.test-badge.in_progress, .test-badge.fixing, .test-badge.retesting, .test-badge.deploying {
  color: var(--adobe-blue);
  background: #1473e61a;
  animation: 1.5s ease-in-out infinite pulse;
}

.test-badge.passed {
  color: #27ae60;
  background: #2ecc711a;
}

.test-badge.failed {
  color: var(--adobe-red);
  background: #e348501a;
}

.test-progress {
  margin: .75rem 0;
}

.test-progress-bar {
  background: var(--gray-200);
  border-radius: 2px;
  height: 4px;
  overflow: hidden;
}

.test-progress-fill {
  background: var(--adobe-blue);
  border-radius: 2px;
  width: 30%;
  height: 100%;
}

.test-progress-fill.running {
  animation: 1.5s ease-in-out infinite progress-indeterminate;
}

@keyframes progress-indeterminate {
  0% {
    width: 30%;
    transform: translateX(-100%);
  }

  50% {
    width: 60%;
    transform: translateX(100%);
  }

  100% {
    width: 30%;
    transform: translateX(300%);
  }
}

.test-attempt {
  color: var(--text-muted);
  text-align: center;
  margin-top: .5rem;
  font-size: .75rem;
  display: block;
}

.test-success-details {
  border-radius: var(--radius);
  background: #2ecc710d;
  border: 1px solid #2ecc7133;
  margin-top: .75rem;
  padding: .75rem;
}

.test-detail-row {
  justify-content: space-between;
  padding: .25rem 0;
  font-size: .85rem;
  display: flex;
}

.test-detail-label {
  color: var(--text-secondary);
}

.test-detail-value {
  color: var(--text-color);
  font-weight: 500;
}

.test-output-sample {
  margin-top: .75rem;
}

.test-sample-content {
  background: var(--bg-color);
  border-radius: var(--radius);
  white-space: pre-wrap;
  max-height: 100px;
  margin-top: .25rem;
  padding: .5rem;
  font-family: monospace;
  font-size: .75rem;
  overflow-x: auto;
}

.test-output-files {
  margin-top: .75rem;
}

.test-file-list {
  margin: .25rem 0 0;
  padding: 0;
  list-style: none;
}

.test-file-item {
  border-bottom: 1px solid var(--border-color);
  justify-content: space-between;
  padding: .25rem 0;
  font-size: .8rem;
  display: flex;
}

.test-file-item:last-child {
  border-bottom: none;
}

.file-name {
  color: var(--text-color);
  font-family: monospace;
}

.file-size {
  color: var(--text-muted);
  font-size: .75rem;
}

.test-error-box {
  border-radius: var(--radius);
  background: #e348500d;
  border: 1px solid #e348504d;
  margin-top: .75rem;
  padding: .75rem;
}

.error-label {
  color: var(--adobe-red);
  margin-bottom: .25rem;
  font-size: .75rem;
  font-weight: 600;
  display: block;
}

.error-content {
  color: var(--adobe-red);
  white-space: pre-wrap;
  max-height: 150px;
  margin: 0;
  font-family: monospace;
  font-size: .8rem;
  overflow-y: auto;
}

.retry-test-btn {
  border: 1px solid var(--adobe-red);
  color: var(--adobe-red);
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-fast);
  background: none;
  margin-top: .75rem;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}

.retry-test-btn:hover:not(:disabled) {
  background: #e348501a;
}

.test-logs-section {
  border-top: 1px solid var(--border-color);
  margin-top: 1rem;
  padding-top: 1rem;
}

.test-logs-section h4 {
  color: var(--text-color);
  margin-bottom: .5rem;
  font-size: .85rem;
  font-weight: 600;
}

.test-logs-content {
  border-radius: var(--radius);
  background: #1e1e1e;
  max-height: 200px;
  padding: .75rem;
  font-family: Courier New, SF Mono, monospace;
  font-size: .75rem;
  overflow-y: auto;
}

.test-log-line {
  color: #d4d4d4;
  gap: .5rem;
  padding: .125rem 0;
  line-height: 1.6;
  display: flex;
}

.log-time {
  color: #6a9955;
  flex-shrink: 0;
}

.log-message {
  flex: 1;
}

.test-log-line.error .log-message {
  color: #f14c4c;
}

.test-log-line.success .log-message {
  color: #4ec9b0;
}

.test-log-line.warning .log-message {
  color: #dcdcaa;
}

@media (width <= 1024px) {
  .chat-view.three-panel {
    flex-direction: column;
  }

  .chat-right-panel {
    border-left: none;
    border-top: 1px solid var(--border-color);
    width: 100%;
    height: 300px;
  }

  .chat-right-panel.collapsed {
    width: 100%;
    height: 50px;
  }
}

@media (width <= 768px) {
  .welcome-choices {
    flex-direction: column;
  }

  .welcome-choice-card {
    width: 100%;
    min-width: auto;
  }

  .chat-message {
    max-width: 95%;
  }
}

.home-main {
  flex-direction: column;
  flex: 1;
  gap: 20px;
  padding: 20px;
  display: flex;
  overflow: hidden;
}

.hero-section {
  background: linear-gradient(135deg, var(--adobe-blue) 0%, #4f46e5 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  flex-shrink: 0;
  padding: 24px 32px;
}

.hero-content {
  align-items: center;
  gap: 24px;
  display: flex;
}

.hero-content h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.hero-content p {
  opacity: .85;
  flex: 1;
  margin: 0;
}

.hero-cta {
  color: var(--adobe-blue);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  background: #fff;
  border: none;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 600;
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #0003;
}

.home-grid {
  flex: 1;
  gap: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.home-grid .home-section:first-child {
  resize: horizontal;
  flex: 0 0 45%;
  min-width: 300px;
  max-width: 60%;
  overflow: auto;
}

.home-grid .home-section:last-child {
  flex: 1;
  min-width: 300px;
}

.home-grid .home-section:first-child {
  border-right: none;
  position: relative;
}

.home-grid .home-section:first-child:after {
  content: "";
  background: var(--border-color);
  cursor: col-resize;
  opacity: 0;
  width: 8px;
  transition: opacity var(--transition-fast);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}

.home-grid .home-section:first-child:hover:after {
  opacity: 1;
}

.panel-resizer {
  background: var(--border-color);
  cursor: col-resize;
  width: 8px;
  transition: background var(--transition-fast);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.panel-resizer:hover, .panel-resizer.active {
  background: var(--adobe-blue);
}

.panel-resizer:before {
  content: "";
  background: var(--gray-400);
  width: 4px;
  height: 40px;
  transition: background var(--transition-fast);
  border-radius: 2px;
  position: absolute;
}

.panel-resizer:hover:before, .panel-resizer.active:before {
  background: #ffffffb3;
}

[data-theme="dark"] .panel-resizer {
  background: #3f3f46;
}

[data-theme="dark"] .panel-resizer:before {
  background: #71717a;
}

[data-theme="dark"] .panel-resizer:hover, [data-theme="dark"] .panel-resizer.active {
  background: var(--adobe-blue);
}

[data-theme="dark"] .panel-resizer:hover:before, [data-theme="dark"] .panel-resizer.active:before {
  background: #ffffffb3;
}

.home-section {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  flex-direction: column;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.section-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--gray-50);
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  display: flex;
}

.section-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.section-count {
  background: var(--gray-200);
  color: var(--text-secondary);
  border-radius: 10px;
  padding: 2px 8px;
  font-size: .75rem;
}

.session-list-modern {
  flex: 1;
  min-height: 0;
  padding: 12px;
  overflow-y: auto;
}

.session-cards {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.session-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 14px 16px;
  position: relative;
}

.session-card:hover, .session-card.hovered {
  border-color: var(--adobe-blue);
  background: var(--gray-50);
}

.session-card.selected {
  border-color: var(--adobe-blue);
  background: #007aff0d;
  box-shadow: 0 0 0 2px #007aff1a;
}

.session-card .selection-indicator {
  background: var(--adobe-blue);
  border-radius: 0 2px 2px 0;
  width: 3px;
  height: 60%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.session-card-header {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  display: flex;
}

.session-name {
  color: var(--text-color);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  padding-right: 8px;
  font-size: .95rem;
  font-weight: 600;
  overflow: hidden;
}

.session-actions {
  opacity: 0;
  transition: opacity var(--transition-fast);
  gap: 4px;
  display: flex;
}

.session-actions.visible {
  opacity: 1;
}

.session-actions button {
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  padding: 4px 6px;
  font-size: .85rem;
}

.session-actions button:hover {
  background: var(--gray-200);
}

.session-actions button.delete:hover {
  background: #e348501a;
}

.session-card-badges {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.phase-badge {
  border: 1px solid;
  border-radius: 20px;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 500;
  display: inline-flex;
}

.status-badge {
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 500;
}

.status-badge.status-complete {
  color: #059669;
  background: #10b9811a;
}

.status-badge.status-error {
  color: #dc2626;
  background: #ef44441a;
}

.status-badge.status-active {
  color: #2563eb;
  background: #3b82f61a;
}

.session-card-footer {
  color: var(--text-secondary);
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  display: flex;
}

.session-time {
  color: var(--text-muted);
}

.session-files {
  color: var(--text-secondary);
}

.session-card-edit {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.session-card-edit input {
  border: 1px solid var(--adobe-blue);
  border-radius: var(--radius);
  outline: none;
  width: 100%;
  padding: 8px 12px;
  font-size: .95rem;
}

.session-card-edit .edit-actions {
  gap: 8px;
  display: flex;
}

.session-card-edit .btn-save, .session-card-edit .btn-cancel {
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: 6px 14px;
  font-size: .85rem;
}

.session-card-edit .btn-save {
  background: var(--adobe-blue);
  color: #fff;
}

.session-card-edit .btn-cancel {
  background: var(--gray-200);
  color: var(--text-color);
}

.session-card.skeleton, .pipeline-card.skeleton {
  animation: 1.5s ease-in-out infinite pulse;
}

.skeleton-line {
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  height: 14px;
}

.skeleton-line.title {
  width: 70%;
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-line.subtitle {
  width: 50%;
  height: 12px;
}

.skeleton-badges {
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.skeleton-badge {
  background: var(--gray-200);
  border-radius: 20px;
  width: 60px;
  height: 20px;
}

.empty-state-modern {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
  display: flex;
}

.empty-state-modern .empty-icon {
  opacity: .6;
  margin-bottom: 16px;
  font-size: 3rem;
}

.empty-state-modern h4 {
  color: var(--text-color);
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.empty-state-modern p {
  color: var(--text-secondary);
  margin: 0;
  font-size: .9rem;
}

.pipeline-manager-modern {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.pipeline-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--gray-50);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  display: flex;
}

.pipeline-header-left {
  align-items: center;
  gap: 10px;
  display: flex;
}

.pipeline-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.pipeline-count {
  color: var(--text-secondary);
  background: var(--gray-200);
  border-radius: 10px;
  padding: 2px 8px;
  font-size: .75rem;
}

.retry-btn {
  background: var(--gray-100);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 6px 12px;
  font-size: .8rem;
}

.retry-btn:hover {
  background: var(--gray-200);
}

.pipeline-stats {
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
  gap: 16px;
  padding: 12px 16px;
  display: flex;
}

.pipeline-stats .stat-item {
  flex-direction: column;
  align-items: center;
  display: flex;
}

.pipeline-stats .stat-value {
  color: var(--text-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.pipeline-stats .stat-label {
  color: var(--text-secondary);
  font-size: .7rem;
}

.pipeline-grid {
  flex-direction: column;
  flex: 1;
  gap: 10px;
  min-height: 0;
  padding: 12px;
  display: flex;
  overflow-y: auto;
}

.pipeline-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 16px 18px;
  position: relative;
}

.pipeline-card:hover, .pipeline-card.hovered {
  border-color: var(--adobe-blue);
  background: var(--gray-50);
}

.pipeline-card.selected {
  border-color: var(--adobe-blue);
  background: #007aff0d;
  box-shadow: 0 0 0 2px #007aff1a;
}

.pipeline-card .selection-indicator {
  background: var(--adobe-blue);
  border-radius: 0 2px 2px 0;
  width: 3px;
  height: 60%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.pipeline-card-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  display: flex;
}

.pipeline-name {
  color: var(--text-color);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: .95rem;
  font-weight: 600;
  overflow: hidden;
}

.deployment-badge {
  border-radius: 20px;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 500;
  display: inline-flex;
}

.deployment-badge.ready {
  background: var(--gray-100);
  color: var(--text-secondary);
}

.deployment-badge.aws {
  color: #d97706;
  background: #ff99001a;
}

.deployment-badge.github {
  color: #24292e;
  background: #24292e1a;
}

.pipeline-card-meta {
  color: var(--text-secondary);
  gap: 12px;
  margin-bottom: 10px;
  font-size: .8rem;
  display: flex;
}

.pipeline-repo {
  color: var(--text-muted);
}

.pipeline-progress {
  margin-bottom: 10px;
}

.progress-bar {
  background: var(--gray-200);
  border-radius: 2px;
  height: 4px;
  margin-bottom: 4px;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, var(--adobe-blue), #4f46e5);
  border-radius: 2px;
  width: 60%;
  height: 100%;
  animation: 1.5s ease-in-out infinite progress-pulse;
}

@keyframes progress-pulse {
  0%, 100% {
    opacity: 1;
    width: 30%;
  }

  50% {
    opacity: .7;
    width: 70%;
  }
}

.progress-text {
  color: var(--adobe-blue);
  font-size: .75rem;
}

.pipeline-card-actions {
  opacity: 0;
  transition: opacity var(--transition-fast);
  gap: 8px;
  display: flex;
}

.pipeline-card-actions.visible {
  opacity: 1;
}

.pipeline-btn {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: .8rem;
  font-weight: 500;
  display: inline-flex;
}

.pipeline-btn:hover:not(:disabled) {
  border-color: var(--adobe-blue);
  background: var(--gray-50);
}

.pipeline-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.pipeline-btn.test {
  color: #f59e0b;
}

.pipeline-btn.deploy {
  color: #24292e;
}

.pipeline-btn.delete {
  color: #dc2626;
}

.pipeline-btn.delete:hover {
  background: #dc26260d;
  border-color: #dc2626;
}

.pipeline-card.skeleton .skeleton-header {
  justify-content: space-between;
  margin-bottom: 10px;
  display: flex;
}

.pipeline-card.skeleton .skeleton-actions {
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.skeleton-btn {
  background: var(--gray-200);
  border-radius: var(--radius);
  width: 60px;
  height: 28px;
}

.pipeline-empty {
  grid-column: 1 / -1;
}

@media (width <= 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }
}

@media (width <= 768px) {
  .home-main {
    gap: 12px;
    padding: 12px;
  }

  .hero-section {
    padding: 16px 20px;
  }

  .hero-content h1 {
    font-size: 1.25rem;
  }
}

[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

[data-theme="dark"] .hero-content h1, [data-theme="dark"] .hero-content p {
  color: #fff;
}

[data-theme="dark"] .hero-cta {
  color: #2563eb;
  background: #fff;
}

[data-theme="dark"] .home-section {
  background: #18181b;
  border-color: #27272a;
}

[data-theme="dark"] .section-header, [data-theme="dark"] .pipeline-header {
  background: #09090b;
  border-color: #27272a;
}

[data-theme="dark"] .section-header h2, [data-theme="dark"] .pipeline-header h2 {
  color: #fafafa;
}

[data-theme="dark"] .section-count, [data-theme="dark"] .pipeline-count {
  color: #d4d4d8;
  background: #3f3f46;
}

[data-theme="dark"] .session-card, [data-theme="dark"] .pipeline-card {
  background: #27272a;
  border-color: #3f3f46;
}

[data-theme="dark"] .session-card:hover, [data-theme="dark"] .pipeline-card:hover {
  background: #3f3f46;
  border-color: #52525b;
}

[data-theme="dark"] .session-card.selected, [data-theme="dark"] .pipeline-card.selected {
  background: #3b82f626;
  border-color: #3b82f6;
}

[data-theme="dark"] .session-name, [data-theme="dark"] .pipeline-name {
  color: #fafafa;
}

[data-theme="dark"] .session-time, [data-theme="dark"] .pipeline-time, [data-theme="dark"] .session-files, [data-theme="dark"] .pipeline-repo, [data-theme="dark"] .session-card-footer, [data-theme="dark"] .pipeline-card-meta {
  color: #a1a1aa;
}

[data-theme="dark"] .phase-badge {
  border-color: #ffffff26 !important;
}

[data-theme="dark"] .status-badge {
  color: #fafafa;
}

[data-theme="dark"] .status-badge.status-complete {
  color: #4ade80;
  background: #22c55e33;
}

[data-theme="dark"] .status-badge.status-error {
  color: #f87171;
  background: #ef444433;
}

[data-theme="dark"] .status-badge.status-active {
  color: #60a5fa;
  background: #3b82f633;
}

[data-theme="dark"] .deployment-badge {
  color: #e4e4e7;
}

[data-theme="dark"] .deployment-badge.ready {
  color: #a1a1aa;
  background: #3f3f46;
}

[data-theme="dark"] .deployment-badge.aws {
  color: #fbbf24;
  background: #fbbf2426;
}

[data-theme="dark"] .deployment-badge.github {
  color: #e4e4e7;
  background: #ffffff1a;
}

[data-theme="dark"] .pipeline-stats {
  border-color: #27272a;
}

[data-theme="dark"] .pipeline-stats .stat-value {
  color: #fafafa;
}

[data-theme="dark"] .pipeline-stats .stat-label {
  color: #a1a1aa;
}

[data-theme="dark"] .pipeline-btn {
  color: #fafafa;
  background: #3f3f46;
  border-color: #52525b;
}

[data-theme="dark"] .pipeline-btn:hover:not(:disabled) {
  background: #52525b;
  border-color: #71717a;
}

[data-theme="dark"] .pipeline-btn.delete:hover {
  color: #f87171;
  background: #ef444426;
  border-color: #ef4444;
}

[data-theme="dark"] .session-actions button {
  color: #a1a1aa;
}

[data-theme="dark"] .session-actions button:hover {
  color: #fafafa;
  background: #3f3f46;
}

[data-theme="dark"] .session-actions button.delete:hover {
  color: #f87171;
  background: #ef444426;
}

[data-theme="dark"] .empty-state-modern {
  color: #a1a1aa;
}

[data-theme="dark"] .empty-state-modern h4 {
  color: #fafafa;
}

[data-theme="dark"] .empty-state-modern .empty-icon {
  opacity: .7;
}

[data-theme="dark"] .skeleton-line, [data-theme="dark"] .skeleton-badge, [data-theme="dark"] .skeleton-btn {
  background: #3f3f46;
}

[data-theme="dark"] .session-card-edit input {
  color: #fafafa;
  background: #18181b;
  border-color: #3b82f6;
}

[data-theme="dark"] .session-card-edit .btn-save {
  color: #fff;
  background: #3b82f6;
}

[data-theme="dark"] .session-card-edit .btn-cancel {
  color: #fafafa;
  background: #3f3f46;
}

[data-theme="dark"] .retry-btn {
  color: #fafafa;
  background: #3f3f46;
  border-color: #52525b;
}

[data-theme="dark"] .retry-btn:hover {
  background: #52525b;
}

[data-theme="dark"] .progress-bar {
  background: #3f3f46;
}

[data-theme="dark"] .progress-text {
  color: #60a5fa;
}
/*# sourceMappingURL=web-src.4036726d.css.map */
