.status-filter {
  display: flex;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
}

.status-filter__tab {
  flex: 1;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  transition: background-color 0.2s, color 0.2s;
}

.status-filter__tab:hover {
  background: var(--color-bg);
}

.status-filter__tab--active {
  background: var(--color-primary);
  color: #ffffff;
}

.status-filter__tab--active:hover {
  background: var(--color-primary-dark);
}

@media (max-width: 640px) {
  .status-filter__tab {
    padding: 10px 12px;
    font-size: 13px;
  }
}
.request-app-cta {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: var(--gradient-cta);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}

.request-app-cta:hover {
  opacity: 0.9;
}

@media (max-width: 640px) {
  .request-app-cta {
    padding: 14px 16px;
    font-size: 16px;
  }
}
.app-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.app-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.app-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.app-card__description {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.app-card__timestamps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-card__timestamp {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .app-card {
    padding: 16px;
  }

  .app-card__title {
    font-size: 16px;
  }
}
.app-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .app-card-grid {
    grid-template-columns: 1fr;
  }
}

.app-card-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-muted);
  font-size: 15px;
}
.main-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-page__footer {
  text-align: center;
  padding-top: 16px;
}

.main-page__footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.main-page__footer-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.main-page__footer-link:hover {
  text-decoration: underline;
}

.main-page__footer-link--muted {
  color: var(--color-text-muted);
  font-weight: 400;
}

.main-page__footer-separator {
  color: var(--color-text-muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .main-page {
    padding: 12px;
  }
}
.app-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-header__title-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.app-header__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}

.app-header__status {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.app-header__status--building {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.app-header__status--finished {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-finished);
}

.app-header__status--queued {
  background: rgba(156, 163, 175, 0.2);
  color: #6b7280;
}

.app-header__description {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 720px;
}

.app-header__meta {
  font-size: 13px;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .app-header__title {
    font-size: 20px;
  }

  .app-header__title-row {
    flex-direction: column;
    gap: 8px;
  }

  .app-header__description {
    font-size: 14px;
  }
}
.app-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-actions__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.app-actions__btn:hover {
  opacity: 0.85;
}

.app-actions__btn--primary {
  background: var(--color-primary);
  color: #ffffff;
}

.app-actions__btn--secondary {
  background: var(--color-text);
  color: #ffffff;
}

.app-actions__btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.app-actions__btn--disabled:hover {
  opacity: 0.5;
}

.app-actions__btn-label {
  display: inline;
}

@media (max-width: 480px) {
  .app-actions__btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .app-actions__btn-label {
    display: none;
  }
}
.activity-entry {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s;
}

.activity-entry--deploy {
  background: var(--color-log-deploy-bg);
}

.activity-entry--test {
  background: var(--color-log-test-bg);
}

.activity-entry--reasoning {
  background: var(--color-log-reasoning-bg);
}

.activity-entry--plan {
  background: var(--color-log-plan-bg);
}

.activity-entry--init {
  background: var(--color-log-init-bg);
}

.activity-entry--log {
  background: var(--color-log-log-bg);
}

.activity-entry__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.activity-entry__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.activity-entry--deploy .activity-entry__icon {
  color: var(--color-log-deploy);
}

.activity-entry--test .activity-entry__icon {
  color: var(--color-log-test);
}

.activity-entry--reasoning .activity-entry__icon {
  color: var(--color-log-reasoning);
}

.activity-entry--plan .activity-entry__icon {
  color: var(--color-log-plan);
}

.activity-entry--init .activity-entry__icon {
  color: var(--color-log-init);
}

.activity-entry--log .activity-entry__icon {
  color: var(--color-log-log);
}

.activity-entry__timestamp {
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.activity-entry__separator {
  font-size: 13px;
  color: var(--color-text-muted);
}

.activity-entry__type {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.activity-entry__type--deploy {
  color: var(--color-log-deploy);
}

.activity-entry__type--test {
  color: var(--color-log-test);
}

.activity-entry__type--reasoning {
  color: var(--color-log-reasoning);
}

.activity-entry__type--plan {
  color: var(--color-log-plan);
}

.activity-entry__type--init {
  color: var(--color-log-init);
}

.activity-entry__type--log {
  color: var(--color-log-log);
}

.activity-entry__message {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.activity-entry__link {
  color: var(--color-primary);
  text-decoration: underline;
  transition: opacity 0.15s;
}

.activity-entry__link:hover {
  opacity: 0.8;
}

.activity-entry__expandable {
  margin-top: 8px;
  margin-left: 28px;
}

.activity-entry__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 4px 0;
  transition: color 0.15s;
}

.activity-entry__toggle:hover {
  color: var(--color-text);
}

.activity-entry__detail {
  margin-top: 8px;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .activity-entry {
    padding: 12px;
  }

  .activity-entry__timestamp {
    font-size: 11px;
  }

  .activity-entry__message {
    font-size: 13px;
  }

  .activity-entry__expandable {
    margin-left: 0;
  }

  .activity-entry__detail {
    padding: 12px;
    font-size: 12px;
  }
}
.activity-log {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.activity-log__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 12px;
}

.activity-log__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.activity-log__status-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.activity-log__feed-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.activity-log__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-finished);
  animation: pulse 2s infinite;
}

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

.activity-log__live-text {
  font-weight: 600;
  color: var(--color-finished);
}

.activity-log__historical-text {
  font-weight: 600;
  color: var(--color-text);
}

.activity-log__inactive-text {
  color: var(--color-text-muted);
}

.activity-log__label-sep {
  color: var(--color-text-muted);
}

.activity-log__refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-text-secondary);
  transition: background-color 0.15s, color 0.15s;
}

.activity-log__refresh:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.activity-log__entries {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
}

.activity-log__loading,
.activity-log__error,
.activity-log__empty {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.activity-log__error {
  color: var(--color-rejected);
}

@media (max-width: 640px) {
  .activity-log__header {
    padding: 16px;
  }

  .activity-log__title {
    font-size: 16px;
  }

  .activity-log__entries {
    padding: 12px;
  }
}
.app-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 640px) {
  .app-page {
    padding: 12px;
  }
}

.app-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 8px 0;
  transition: color 0.15s;
  align-self: flex-start;
}

.app-page__back:hover {
  color: var(--color-primary);
}

.app-page__loading {
  text-align: center;
  padding: 80px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.wizard-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.wizard-stepper__circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.wizard-stepper__circle--completed {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.wizard-stepper__circle--active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}

.wizard-stepper__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.wizard-stepper__label--active {
  color: var(--color-primary);
  font-weight: 600;
}

.wizard-stepper__label--completed {
  color: var(--color-text-secondary);
  font-weight: 600;
}

.wizard-stepper__connector {
  flex: 1;
  height: 2px;
  min-width: 80px;
  background: var(--color-border);
  margin: 0 8px;
  margin-bottom: 28px;
  transition: background-color 0.3s ease;
}

.wizard-stepper__connector--completed {
  background: var(--color-primary);
}

@media (max-width: 640px) {
  .wizard-stepper__connector {
    min-width: 40px;
    margin: 0 4px;
    margin-bottom: 28px;
  }

  .wizard-stepper__label {
    font-size: 11px;
  }

  .wizard-stepper__circle {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}
.describe-app-form {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.describe-app-form__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}

.describe-app-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.describe-app-form__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.describe-app-form__input,
.describe-app-form__textarea {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color 0.2s;
  outline: none;
}

.describe-app-form__input:focus,
.describe-app-form__textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.describe-app-form__input::placeholder,
.describe-app-form__textarea::placeholder {
  color: var(--color-text-muted);
}

.describe-app-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.describe-app-form__submit {
  width: 100%;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
  margin-top: 4px;
}

.describe-app-form__submit:hover {
  background: var(--color-primary-dark);
}

.describe-app-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.describe-app-form__error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--color-rejected);
  font-size: 14px;
  margin-bottom: 16px;
}

.describe-app-form__field-error {
  color: var(--color-rejected);
  font-size: 13px;
}
.assessment-screen {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .assessment-screen {
    grid-template-columns: 1fr;
  }
}

.assessment-screen__summary {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: 24px;
}

.assessment-screen__summary-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

.assessment-screen__summary-field {
  margin-bottom: 16px;
}

.assessment-screen__summary-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.assessment-screen__summary-value {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.assessment-screen__progress {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.assessment-screen__progress-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.assessment-screen__progress-bar-track {
  width: 100%;
  max-width: 400px;
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
}

.assessment-screen__progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-cta);
  animation: assessment-progress 2s ease-in-out infinite;
}

@keyframes assessment-progress {
  0% {
    width: 20%;
  }
  50% {
    width: 80%;
  }
  100% {
    width: 20%;
  }
}

.assessment-screen__progress-message {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.assessment-screen__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.rejection-result {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.rejection-result__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.rejection-result__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.rejection-result__message {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.rejection-result__reason-box {
  width: 100%;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 24px;
}

.rejection-result__reason-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-rejected);
  margin-bottom: 8px;
}

.rejection-result__reason-label {
  font-weight: 700;
  color: var(--color-text);
  font-size: 14px;
}

.rejection-result__reason-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.rejection-result__edit-btn {
  width: 100%;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}

.rejection-result__edit-btn:hover {
  background: var(--color-primary-dark);
}

@media (max-width: 640px) {
  .rejection-result {
    padding: 20px;
    max-width: calc(100% - 24px);
  }

  .rejection-result__title {
    font-size: 20px;
  }

  .rejection-result__reason-box {
    padding: 12px 16px;
  }
}
.acceptance-result {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.acceptance-result__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.acceptance-result__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.acceptance-result__message {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.acceptance-result__next-steps {
  width: 100%;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 24px;
}

.acceptance-result__next-steps-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-finished);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acceptance-result__next-steps-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.acceptance-result__go-btn {
  width: 100%;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
  display: inline-block;
  text-align: center;
  margin-bottom: 12px;
}

.acceptance-result__go-btn:hover {
  background: var(--color-primary-dark);
}

.acceptance-result__view-all {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.2s;
}

.acceptance-result__view-all:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .acceptance-result {
    padding: 20px;
    max-width: calc(100% - 24px);
  }

  .acceptance-result__title {
    font-size: 20px;
  }

  .acceptance-result__next-steps {
    padding: 12px 16px;
  }
}
.request-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (max-width: 640px) {
  .request-page {
    padding: 12px;
  }
}

.request-page__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.request-page__form-wrapper {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.request-page__form-wrapper .describe-app-form {
  padding: 32px;
}

@media (max-width: 640px) {
  .request-page {
    gap: 24px;
  }

  .request-page__form-wrapper .describe-app-form {
    padding: 20px;
  }
}
.webhook-feed {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.webhook-feed__title {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.webhook-feed__empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
}

.webhook-feed__list {
  max-height: 480px;
  overflow-y: auto;
}

.webhook-feed__item {
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
}

.webhook-feed__item:last-child {
  border-bottom: none;
}

.webhook-feed__item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.webhook-feed__timestamp {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.webhook-feed__container-id {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.webhook-feed__event-type {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--color-log-test-bg);
  color: var(--color-log-test);
}

.webhook-feed__payload {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  line-height: 1.4;
}

.webhook-feed__payload-entry {
  overflow-wrap: break-word;
  word-break: break-word;
}

.webhook-feed__payload-key {
  color: var(--color-text-secondary);
  font-weight: 600;
}

@media (max-width: 640px) {
  .webhook-feed__title {
    padding: 12px 16px;
  }

  .webhook-feed__item {
    padding: 10px 16px;
  }

  .webhook-feed__item-header {
    gap: 8px;
  }

  .webhook-feed__container-id {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    white-space: nowrap;
  }
}
.default-prompt {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.default-prompt__title {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.default-prompt__content {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  white-space: pre-wrap;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .default-prompt__title {
    padding: 12px 16px;
  }

  .default-prompt__content {
    padding: 12px 16px;
  }
}
.loop-status {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.loop-status__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.loop-status__label-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loop-status__title {
  font-size: 16px;
  font-weight: 600;
}

.loop-status__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.loop-status__badge--active {
  background-color: var(--color-loop-active-bg);
  color: var(--color-loop-active);
}

.loop-status__badge--paused {
  background-color: var(--color-loop-paused-bg);
  color: var(--color-loop-paused);
}

.loop-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.loop-status__dot--active {
  background-color: var(--color-loop-active);
  animation: loop-pulse 2s ease-in-out infinite;
}

.loop-status__dot--paused {
  background-color: var(--color-loop-paused);
}

@keyframes loop-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 640px) {
  .loop-status__inner {
    padding: 12px 16px;
  }
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.copy-btn--copied {
  color: var(--color-status-finished);
  border-color: var(--color-status-finished);
}
.webhook-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.webhook-help-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.webhook-help-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.webhook-help-panel {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
}

.webhook-help-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.webhook-help-panel__title {
  font-size: 18px;
  font-weight: 700;
}

.webhook-help-panel__close {
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.webhook-help-panel__close:hover {
  background: var(--color-bg);
}

.webhook-help-endpoint {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.webhook-help-endpoint:last-child {
  margin-bottom: 0;
}

.webhook-help-endpoint__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.webhook-help-endpoint__method {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 4px;
}

.webhook-help-endpoint__path {
  flex: 1;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.webhook-help-endpoint__body {
  padding: 12px 16px;
}

.webhook-help-endpoint__section {
  margin-bottom: 10px;
}

.webhook-help-endpoint__section:last-child {
  margin-bottom: 0;
}

.webhook-help-endpoint__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.webhook-help-endpoint__text {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.5;
}

.webhook-help-endpoint__fields {
  list-style: none;
  padding: 0;
}

.webhook-help-endpoint__fields li {
  font-size: 13px;
  color: var(--color-text);
  padding: 2px 0;
}

.webhook-help-endpoint__fields code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12px;
  background: var(--color-bg);
  padding: 1px 4px;
  border-radius: 3px;
}

.webhook-help-endpoint__curl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.webhook-help-endpoint__curl-header .webhook-help-endpoint__label {
  margin-bottom: 0;
}

.webhook-help-endpoint__curl {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 6px;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-x: auto;
}

@media (max-width: 640px) {
  .webhook-help-panel {
    width: calc(100% - 24px);
    padding: 16px;
    max-height: 90vh;
  }

  .webhook-help-panel__title {
    font-size: 16px;
  }

  .webhook-help-endpoint__header {
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
  }

  .webhook-help-endpoint__path {
    font-size: 11px;
    word-break: break-all;
  }

  .webhook-help-endpoint__body {
    padding: 10px 12px;
  }

  .webhook-help-endpoint__curl {
    font-size: 11px;
    padding: 8px 10px;
  }
}
.status-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.status-page__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-page__back {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
}

.status-page__back:hover {
  color: var(--color-primary-dark);
}

.status-page__title {
  font-size: 22px;
  font-weight: 700;
}

.status-page__loading {
  text-align: center;
  padding: 48px 0;
  color: var(--color-text-muted);
}

.status-page__error {
  text-align: center;
  padding: 48px 0;
  color: var(--color-rejected);
}

.status-page__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 640px) {
  .status-page {
    padding: 12px;
  }

  .status-page__header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .status-page__title {
    font-size: 18px;
  }
}
:root {
  /* Primary colors */
  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;
  --color-primary-light: #60a5fa;

  /* Status colors */
  --color-building: #3b82f6;
  --color-finished: #22c55e;
  --color-queued: #a855f7;
  --color-rejected: #ef4444;

  /* Neutral colors */
  --color-bg: #f1f5f9;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-text: #1e293b;
  --color-text-secondary: #64748b;
  --color-text-muted: #94a3b8;

  /* Gradient */
  --gradient-cta: linear-gradient(135deg, #3b82f6, #06b6d4);

  /* Loop status colors */
  --color-loop-active: #22c55e;
  --color-loop-active-bg: #f0fdf4;
  --color-loop-paused: #f59e0b;
  --color-loop-paused-bg: #fffbeb;

  /* Log type colors */
  --color-log-deploy: #22c55e;
  --color-log-deploy-bg: #f0fdf4;
  --color-log-test: #3b82f6;
  --color-log-test-bg: #eff6ff;
  --color-log-reasoning: #f59e0b;
  --color-log-reasoning-bg: #fffbeb;
  --color-log-plan: #3b82f6;
  --color-log-plan-bg: #eff6ff;
  --color-log-init: #64748b;
  --color-log-init-bg: #f8fafc;
  --color-log-log: #8b5cf6;
  --color-log-log-bg: #f5f3ff;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.1);

  /* Spacing */
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
