/* Additive release workspace. Main navigation and OLED surfaces stay unchanged. */
.project-sync-health {
  font-size: 0.65rem;
  color: #8fae9b;
  line-height: 1.5;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.project-sync-health[data-state='error'] {
  color: var(--amber);
}
.project-sync-health[data-state='pending'] {
  color: #999;
}
.project-actions {
  flex-wrap: wrap;
}
.project-actions .text-btn {
  font-size: 0.7rem;
}
.release-workspace {
  padding: 20px;
  margin: 0 0 24px;
  border: 1px solid #292929;
  border-radius: 22px;
  min-width: 0;
}
.saved-release-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.saved-release {
  padding: 18px;
  border: 1px solid #303030;
  border-radius: 16px;
  min-width: 0;
}
.saved-release-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.saved-release h3 {
  margin: 10px 0 6px;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.saved-release p {
  font-size: 0.7rem;
  color: #999;
  line-height: 1.6;
}
.saved-release pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #bec7d7;
  font-size: 0.72rem;
  line-height: 1.7;
}
.saved-release details {
  margin-top: 14px;
  border-top: 1px solid #252525;
  padding-top: 14px;
}
.saved-release summary {
  cursor: pointer;
  color: #ccd3e1;
  font-size: 0.8rem;
  min-height: 32px;
}
.feature-error {
  color: #f0aeae;
  font-size: 0.76rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.feature-help {
  color: #999;
  font-size: 0.72rem;
  line-height: 1.6;
}
.commit-kind,
.commit-breaking {
  display: inline-block;
  padding: 3px 7px;
  margin: 6px 5px 4px 0;
  border: 1px solid #333;
  border-radius: 7px;
  color: #aaa;
  font-size: 0.61rem;
  line-height: 1.5;
  white-space: normal;
}
.commit-kind[data-category='feat'] {
  color: #a8c2ff;
  border-color: #2d436d;
}
.commit-kind[data-category='fix'],
.commit-breaking {
  color: #f3b76f;
  border-color: #79542f;
}
.commit-kind[data-category='improvement'] {
  color: #c2a6ff;
  border-color: #51416d;
}
.commit-kind[data-category='docs'] {
  color: #8cd0b1;
  border-color: #2b5745;
}
.commit-task-links {
  display: block;
  color: #b6d9bc;
  font-size: 0.68rem;
  line-height: 1.6;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.large-feature-dialog {
  width: min(760px, calc(100% - 28px));
}
.feature-dialog-body {
  padding: 22px;
}
.release-task-fieldset {
  margin: 0;
  min-width: 0;
  padding: 14px;
  border: 1px solid #333;
  border-radius: 12px;
}
.release-task-fieldset legend {
  color: #c2cad9;
  font-size: 0.76rem;
}
.selection-list {
  max-height: 320px;
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 8px;
}
.selection-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #292929;
  border-radius: 11px;
  color: #ccc;
  font-size: 0.77rem;
  line-height: 1.6;
  cursor: pointer;
  overflow-wrap: anywhere;
  min-width: 0;
}
.selection-row input {
  margin-top: 4px;
  flex: none;
  accent-color: #a8c2ff;
  width: 18px;
  height: 18px;
}
.selection-row span {
  min-width: 0;
}
.commit-choice small {
  display: block;
  color: #999;
  margin-top: 4px;
}
.commit-choice strong {
  font-weight: 500;
}
.feature-search {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 12px;
  background: #080808;
  color: #eee;
  font: inherit;
  font-size: 16px;
}
.version-bumps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.modal-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 12px;
  background: #080808;
  color: #ccc;
  font-family: ui-monospace, monospace;
  line-height: 1.6;
  resize: vertical;
  font-size: 0.8rem;
}
.feature-dialog-body .form-actions {
  margin-top: 18px;
}
.selection-row:has(input:checked) {
  border-color: #5a6f94;
  background: #a8c2ff08;
}
.feature-dialog-body button,
.large-feature-dialog button {
  min-height: 40px;
}
.modal-form .form-actions {
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .release-workspace {
    padding: 15px;
    border-radius: 20px;
  }
  .feature-dialog-body {
    padding: 16px;
  }
  .modal-form textarea {
    font-size: 16px;
  }
  .large-feature-dialog .btn {
    min-height: 44px;
  }
  .version-bumps .btn {
    flex: 1;
  }
  .saved-release {
    padding: 14px;
  }
  .saved-release-heading .btn {
    width: 100%;
  }
  .selection-row {
    font-size: 0.8rem;
  }
  .selection-list {
    max-height: 300px;
  }
  .release-workspace .toolbar-actions {
    flex-direction: column;
  }
}

.large-feature-dialog .field {
  min-width: 0;
}
.large-feature-dialog select {
  min-width: 0;
  max-width: 100%;
}

.large-feature-dialog .modal-head h2 {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.large-feature-dialog .modal-head .close {
  flex: none;
}
.sync-inline-alert {
  margin: 10px 0 0;
  color: var(--amber);
  font-size: 0.72rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  max-width: 75ch;
}

/* The redundant help sidebar was removed; give commit history the full width. */
.release-layout {
  grid-template-columns: minmax(0, 1fr);
}
