.dev-plan-sidebar,
.dev-plan-filter-stack,
.dev-plan-quick-filters {
  display: grid;
  gap: 8px;
}

.workspace.workspace-dev-plan {
  height: calc(100vh - 260px);
  min-height: 660px;
  max-height: 900px;
  align-items: stretch;
}

.workspace-dev-plan .sidebar-panel,
.workspace-dev-plan .primary-panel,
.workspace-dev-plan .detail-panel {
  position: relative;
  top: auto;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.workspace-dev-plan .primary-panel {
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Development plan page references and image viewer */
.dev-plan-quick-filters .small-action,
.dev-detail-actions .small-action,
.dev-detail-actions .danger-action,
.status-badge {
  white-space: nowrap;
  word-break: keep-all;
}

.dev-plan-view-controls {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b100e;
}

.dev-control-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dev-control-row > span,
.dev-filter-row label > span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.dev-filter-row {
  flex-wrap: wrap;
}

.dev-filter-row label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dev-filter-row select {
  width: auto;
  min-width: 118px;
  height: 34px;
  padding: 0 30px 0 10px;
}

.dev-filter-row p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.dev-filter-row p b {
  color: var(--text);
  font-weight: 650;
  white-space: nowrap;
}

.dev-node-main {
  min-width: 0;
}

.dev-tree-row:has(> .dev-node-thumbnails),
.dev-tree-row:has(> .dev-node-no-image) {
  grid-template-columns: 24px 26px minmax(0, 1fr) auto;
}

.dev-node-pages,
.dev-detail-page-tags,
.dev-detail-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.dev-node-pages > i {
  align-self: center;
  color: var(--lime);
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.dev-page-tag,
.dev-detail-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(208, 255, 66, 0.28);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(208, 255, 66, 0.06);
  font-size: 10px;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.dev-node-image-count {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.dev-node-image-count [role="button"] {
  color: var(--lime);
  cursor: pointer;
}

.dev-node-thumbnails {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  padding: 4px 8px 4px 0;
}

.dev-thumb {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 48px;
  height: 70px;
  border: 1px solid rgba(208, 255, 66, 0.26);
  border-radius: 8px;
  background: #050806;
  cursor: zoom-in;
}

.dev-thumb.is-wide {
  width: 78px;
  height: 50px;
}

.dev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dev-thumb i,
.dev-reference-card > button > span {
  display: none;
  padding: 5px;
  color: var(--warning);
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.dev-thumb.is-missing img,
.dev-reference-card.is-missing img {
  display: none;
}

.dev-thumb.is-missing i,
.dev-reference-card.is-missing > button > span {
  display: block;
}

.dev-node-thumbnails > b {
  color: var(--lime);
  font-size: 11px;
}

.dev-node-no-image {
  flex: 0 0 auto;
  min-width: 48px;
  padding-right: 10px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}

.dev-page-groups {
  display: grid;
  gap: 12px;
}

.dev-page-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0b100e;
}

.dev-page-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(208, 255, 66, 0.07);
}

.dev-page-group > header div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.dev-page-group > header > button:first-child {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.dev-page-group > header > button:first-child i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(208,255,66,0.3);
  border-radius: 7px;
  color: var(--lime);
  font-style: normal;
}

.dev-page-group > header strong {
  color: var(--lime);
  font-size: 15px;
}

.dev-page-group > header span {
  color: var(--muted);
  font-size: 11px;
}

.dev-page-group > header button,
.dev-detail-flow-list button,
.dev-reference-card div button {
  border: 0;
  background: transparent;
  color: var(--lime);
  font-size: 11px;
  cursor: pointer;
}

.dev-page-reference-list {
  display: grid;
}

.dev-page-reference-node {
  display: flex;
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.dev-page-reference-node:last-child {
  border-bottom: 0;
}

.dev-page-reference-node > button {
  display: grid;
  flex: 1;
  gap: 3px;
  min-width: 0;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.dev-page-reference-node > button span,
.dev-page-reference-node > button small {
  color: var(--muted);
  font-size: 10px;
}

.dev-page-reference-node.is-selected {
  background: rgba(208,255,66,0.08);
}

.dev-gantt-image-count {
  position: relative;
  width: fit-content;
  margin-top: 3px;
  padding: 2px 7px;
  border: 1px solid rgba(208,255,66,0.28);
  border-radius: 999px;
  background: rgba(208,255,66,0.06);
  color: var(--lime);
  font-size: 9px;
}

.dev-gantt-image-count > span {
  position: fixed;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(4, 52px);
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #101512;
}

.dev-gantt-image-count:hover > span {
  display: grid;
}

.dev-gantt-image-count img {
  width: 52px;
  height: 68px;
  object-fit: contain;
  background: #050806;
}

.dev-gantt-image-count em {
  grid-column: 1 / -1;
  color: var(--text);
  font-size: 10px;
  font-style: normal;
}

.dev-gantt-page-head,
.dev-gantt-page-time {
  min-height: 36px;
  border-bottom: 1px solid rgba(208,255,66,0.2);
  background: rgba(208,255,66,0.06);
}

.dev-gantt-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: var(--lime);
  font-size: 11px;
}

.dev-node-page-detail,
.dev-page-edit-section {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.dev-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.dev-section-heading strong {
  color: var(--lime);
  font-size: 13px;
}

.dev-section-heading span {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.dev-detail-flow-list {
  display: grid;
  gap: 6px;
}

.dev-detail-flow-list button {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #111613;
  text-align: left;
}

.dev-detail-flow-list button span {
  color: var(--text);
}

.dev-reference-grid,
.dev-attachment-grid,
.dev-reference-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dev-reference-card {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111613;
}

.dev-reference-card > button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 88px;
  overflow: hidden;
  border: 1px solid rgba(208,255,66,0.24);
  border-radius: 8px;
  background: #050806;
}

.dev-reference-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dev-reference-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.dev-reference-card strong {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.dev-reference-card small {
  color: var(--muted);
  font-size: 9px;
}

.dev-checkbox-field {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.dev-checkbox-field legend {
  padding: 0 5px;
  color: var(--muted);
  font-size: 11px;
}

.dev-checkbox-field > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dev-checkbox-field label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  width: auto;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: #0a0f0d;
}

.dev-checkbox-field input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.dev-checkbox-field label span {
  color: var(--text);
  font-size: 10px;
}

.dev-attachment-editor {
  display: grid;
  gap: 8px;
}

.dev-attachment-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dev-attachment-edit-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d120f;
}

.dev-attachment-edit-row .is-wide,
.dev-attachment-row-actions {
  grid-column: 1 / -1;
}

.dev-attachment-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.dev-attachment-row-actions button {
  min-width: 30px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151a17;
  color: var(--text);
}

.dev-image-viewer {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #030504;
  color: var(--text);
}

.dev-image-viewer::backdrop {
  background: rgba(0,0,0,0.94);
}

.dev-viewer-open {
  overflow: hidden;
}

.dev-viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  height: 100vh;
}

.dev-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #0a0e0c;
}

.dev-viewer-toolbar div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dev-viewer-toolbar strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-viewer-toolbar span {
  color: var(--muted);
  font-size: 11px;
}

.dev-viewer-toolbar nav {
  display: flex;
  gap: 6px;
}

.dev-viewer-toolbar button,
.dev-viewer-footer aside > button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #151a17;
  color: var(--text);
  white-space: nowrap;
}

.dev-viewer-main {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 48px;
  min-height: 0;
}

.dev-viewer-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
}

.dev-viewer-stage:active {
  cursor: grabbing;
}

.dev-viewer-image {
  transform-origin: center;
  transition: transform 120ms ease-out;
  user-select: none;
}

.dev-viewer-image.is-fit {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dev-viewer-image.is-original {
  max-width: none;
  max-height: none;
}

.dev-viewer-nav {
  border: 0;
  background: transparent;
  color: var(--lime);
  font-size: 36px;
}

.dev-viewer-missing {
  display: none;
  color: var(--warning);
  text-align: center;
}

.dev-viewer-stage.is-missing .dev-viewer-image {
  display: none;
}

.dev-viewer-stage.is-missing .dev-viewer-missing {
  display: block;
}

.dev-viewer-footer {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  border-top: 1px solid var(--line);
  background: #0a0e0c;
}

.dev-viewer-film {
  display: flex;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding: 9px 14px;
}

.dev-viewer-film button {
  display: grid;
  grid-template-columns: 38px 90px;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111613;
  color: var(--text);
  text-align: left;
}

.dev-viewer-film button.active {
  border-color: var(--lime);
}

.dev-viewer-film img {
  width: 38px;
  height: 50px;
  object-fit: contain;
  background: #030504;
}

.dev-viewer-film span {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-viewer-footer aside {
  position: relative;
  padding: 8px 12px;
  border-left: 1px solid var(--line);
}

.dev-viewer-info {
  position: absolute;
  right: 0;
  bottom: 100%;
  display: grid;
  width: 300px;
  max-height: 55vh;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--line);
  background: #0d120f;
}

.dev-viewer-footer aside.is-collapsed .dev-viewer-info {
  display: none;
}

.dev-viewer-info p {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  gap: 8px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
}

.dev-viewer-info span {
  color: var(--muted);
}

.page-related-dev-tasks {
  display: grid;
  gap: 10px;
  margin: 0 24px 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b100e;
}

.page-related-dev-tasks > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.page-related-dev-tasks > div span {
  color: var(--muted);
  font-size: 11px;
}

.page-related-dev-tasks nav {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
  gap: 7px;
}

.page-related-dev-tasks nav button {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #111613;
  color: var(--text);
  text-align: left;
}

.page-related-dev-tasks nav b,
.page-related-dev-tasks nav em {
  color: var(--lime);
  font-size: 10px;
  font-style: normal;
}

.page-related-dev-tasks nav span {
  font-size: 11px;
}

@media (max-width: 1180px) {
  .dev-control-row { flex-wrap: wrap; }
  .dev-filter-row p { margin-left: 0; width: 100%; }
  .dev-reference-grid, .dev-attachment-grid, .dev-reference-preview { grid-template-columns: 1fr; }
  .dev-viewer-toolbar { align-items: flex-start; }
  .dev-viewer-toolbar nav { flex-wrap: wrap; justify-content: flex-end; }
  .dev-viewer-footer { grid-template-columns: minmax(0,1fr) 130px; }
}

.dev-quick-fields { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 6px 0; }
.dev-quick-fields label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.dev-quick-fields select { width: 110px; min-height: 30px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; background: #101713; color: var(--text); font: inherit; }
.dev-quick-fields select[data-dev-quick-field="workflow_status"] { width: 96px; }
.dev-node-main { min-width: 0; }
.dev-node-title { text-align: left; }
.dev-schedule-link { border: 0; background: transparent; color: var(--muted); padding: 0; text-decoration: underline; font: inherit; }
.dev-quick-notice { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); padding: 12px 18px; border: 1px solid var(--lime); border-radius: 8px; background: #101713; color: var(--text); box-shadow: 0 8px 30px #0008; }
.dev-quick-notice[hidden] { display: none; }
.dev-quick-notice button { background: transparent; border: 0; color: var(--lime); white-space: nowrap; }
.dev-requirements-dialog { width: min(1000px, calc(100vw - 40px)); height: min(820px, calc(100dvh - 40px)); max-width: none; max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #0b100d; color: var(--text); overflow: hidden; }
.dev-requirements-dialog::backdrop { background: #000b; }
.dev-requirements-shell { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; height: 100%; }
.dev-requirements-shell > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px 28px 16px; }
.dev-requirements-shell h2 { margin: 5px 0; font-size: 24px; overflow-wrap: anywhere; }
.dev-requirements-shell small, .dev-requirements-shell header span { color: var(--muted); font-size: 12px; }
.dev-requirements-shell button { min-height: 34px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 18px; background: #141b17; color: var(--text); font: inherit; cursor: pointer; white-space: nowrap; }
.dev-requirements-shell button.primary-action { color: #101500; background: var(--lime); border-color: var(--lime); }
.dev-requirements-shell button:focus-visible, .dev-quick-fields select:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.dev-requirements-shell button:disabled { opacity: .45; cursor: default; }
.dev-requirements-shell > header > button { flex: none; width: 34px; padding: 0; font-size: 22px; }
.dev-requirements-shell > nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px 16px; border-bottom: 1px solid var(--line); }
.dev-requirements-shell > nav button[aria-pressed="true"] { color: var(--lime); border-color: var(--lime); }
.dev-requirements-body { overflow: auto; overscroll-behavior: contain; padding: 6px 28px 28px; min-height: 0; }
.dev-spec-section, .dev-requirement-task, .dev-revision-entry { padding: 16px 0; border-bottom: 1px solid var(--line); }
.dev-spec-section h3, .dev-requirement-task h3, .dev-revision-entry h3 { margin: 0 0 8px; font-size: 16px; color: var(--lime); }
.dev-requirements-body p { margin: 4px 0; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.dev-spec-section .is-pending { color: #e0ad65; }
.dev-spec-boundary { color: var(--muted); padding: 12px 0; }
.dev-requirements-shell > footer { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 28px; border-top: 1px solid var(--line); }
.dev-requirements-shell > footer > span { margin-right: auto; font-size: 12px; color: var(--muted); }
#devRequirementsForm { display: grid; gap: 16px; padding-top: 16px; }
#devRequirementsForm label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; }
#devRequirementsForm textarea { width: 100%; box-sizing: border-box; min-height: 96px; resize: vertical; font: inherit; line-height: 1.6; padding: 10px 12px; color: var(--text); background: #111813; border: 1px solid var(--line); border-radius: 6px; }
.dev-requirement-error { color: #ff9988; }
.dev-requirements-body .dev-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.dev-diff > b { grid-column: 1 / -1; font-size: 13px; }
.dev-diff > p { border-left: 2px solid var(--line); padding-left: 10px; }
.dev-requirement-open { margin: 10px 0; }
.dev-requirements-body .dev-reference-card img { max-height: 190px; object-fit: contain; }
.dev-node-thumbnails button { flex: none; background: #080d09; border: 1px solid var(--line); border-radius: 6px; padding: 0; cursor: zoom-in; }
.dev-node-thumbnails button:not(.dev-thumb) { min-width: 28px; min-height: 32px; color: var(--lime); }
.dev-relation-warning { color: #e0ad65; font-size: 12px; line-height: 1.6; }
.dev-viewer-toolbar nav { flex-wrap: wrap; justify-content: flex-end; }
.dev-viewer-shell { height: 100dvh; }
@media (max-width: 700px) {
  .dev-requirements-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); }
  .dev-requirements-shell > header, .dev-requirements-shell > footer { padding: 14px 16px; }
  .dev-requirements-shell > nav { padding: 0 16px 12px; }
  .dev-requirements-body { padding: 6px 16px 24px; }
  .dev-requirements-body .dev-diff { grid-template-columns: 1fr; }
  .dev-requirements-shell h2 { font-size: 20px; }
  .dev-viewer-toolbar { flex-wrap: wrap; gap: 8px; }
  .dev-viewer-toolbar nav { justify-content: flex-start; }
  .dev-viewer-footer { grid-template-columns: minmax(0,1fr) 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .dev-viewer-image { transition: none; }
}

.dev-plan-filter-stack {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(225, 242, 226, 0.1);
}

.dev-plan-filter-stack label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.dev-plan-filter-stack select {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(225, 242, 226, 0.12);
  border-radius: 10px;
  background: #0a0f0d;
  color: var(--text);
  font-size: 12px;
}

.dev-plan-quick-filters {
  grid-template-columns: 1fr 1fr;
  margin-top: 4px;
}

.dev-plan-quick-filters .small-action {
  min-height: 34px;
  padding: 0 8px;
  border-radius: 10px;
}

.dev-plan-quick-filters .small-action.active {
  border-color: var(--lime);
  color: var(--lime);
}

.dev-plan-quick-filters .small-action.is-danger.active {
  border-color: rgba(255, 98, 90, 0.72);
  background: rgba(255, 98, 90, 0.12);
  color: #ff8b84;
}

.dev-member-manager-trigger {
  width: 100%;
  min-height: 36px;
  margin-top: 4px;
}

.dev-member-dialog {
  width: min(820px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 242, 226, 0.18);
  border-radius: 14px;
  background: #0a0f0d;
  color: var(--text);
}

.dev-member-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.dev-member-manager {
  display: flex;
  max-height: min(760px, calc(100vh - 32px));
  flex-direction: column;
}

.dev-member-manager > header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(225, 242, 226, 0.12);
  background: #0d1310;
}

.dev-member-manager h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.dev-member-manager header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.dev-member-list {
  display: grid;
  flex: 1 1 auto;
  gap: 7px;
  min-height: 0;
  padding: 12px 20px;
  overflow-y: auto;
}

.dev-member-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(180px, 1.2fr) 108px 60px 126px;
  align-items: end;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(225, 242, 226, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
}

.dev-member-row.is-inactive {
  opacity: 0.62;
}

.dev-member-row label,
.dev-member-add label {
  display: grid;
  gap: 5px;
}

.dev-member-row label > span,
.dev-member-add label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.dev-member-row input,
.dev-member-add input {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(225, 242, 226, 0.14);
  border-radius: 8px;
  background: #080d0b;
  color: var(--text);
  font-size: 12px;
}

.dev-member-default,
.dev-member-state {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 750;
}

.dev-member-default {
  border: 1px solid rgba(225, 242, 226, 0.14);
  background: transparent;
  color: var(--muted);
}

.dev-member-default:hover,
.dev-member-default.is-default {
  border-color: rgba(208, 255, 66, 0.58);
  color: var(--lime);
}

.dev-member-default:disabled {
  cursor: not-allowed;
}

.dev-member-state {
  color: var(--lime);
}

.dev-member-row.is-inactive .dev-member-state {
  color: var(--warning);
}

.dev-member-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.dev-member-actions .secondary-action,
.dev-member-actions .small-action,
.dev-member-add .primary-action {
  width: auto;
  min-width: 0;
  min-height: 34px;
  margin: 0;
  padding: 0 9px;
  font-size: 10px;
}

.dev-member-add {
  display: flex;
  flex: 0 0 auto;
  align-items: end;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(225, 242, 226, 0.12);
  background: #0d1310;
}

.dev-member-add > div {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(140px, 0.8fr) minmax(200px, 1.2fr);
  gap: 8px;
}

.dev-member-add .primary-action {
  flex: 0 0 auto;
  min-width: 104px;
}

.dev-plan-shell {
  min-width: 0;
}

.dev-plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dev-plan-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.dev-plan-heading p {
  max-width: 68ch;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.dev-plan-heading > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: var(--control-radius);
  background: rgba(208, 255, 66, 0.11);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.dev-plan-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.dev-plan-summary > div {
  display: grid;
  min-height: 70px;
  align-content: center;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid rgba(225, 242, 226, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.dev-plan-summary strong {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 21px;
  line-height: 1;
}

.dev-plan-summary span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-plan-summary .is-danger strong {
  color: #ff746d;
}

.dev-plan-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 10px;
}

.dev-plan-toolbar > div {
  display: flex;
  gap: 7px;
}

.dev-plan-toolbar .secondary-action,
.dev-plan-inline-primary {
  min-height: 34px;
  height: 34px;
  margin: 0;
  padding: 0 12px;
  font-size: 12px;
}

.dev-plan-inline-primary {
  width: auto;
  min-width: 110px;
}

.dev-plan-tree {
  display: grid;
  gap: 5px;
}

.dev-tree-branch {
  display: grid;
  gap: 5px;
}

.dev-tree-children {
  position: relative;
  display: grid;
  gap: 5px;
  margin-left: 24px;
  padding-left: 14px;
}

.dev-tree-children::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2px;
  width: 1px;
  background: rgba(208, 255, 66, 0.18);
}

.dev-tree-row {
  position: relative;
  display: grid;
  grid-template-columns: 24px 26px minmax(0, 1fr);
  align-items: center;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid rgba(225, 242, 226, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.dev-tree-level-1 > .dev-tree-row {
  min-height: 66px;
  border-color: rgba(208, 255, 66, 0.22);
  background: rgba(208, 255, 66, 0.055);
}

.dev-tree-level-3 > .dev-tree-row {
  min-height: 50px;
  background: rgba(0, 0, 0, 0.17);
}

.dev-tree-row:hover,
.dev-tree-row.is-selected {
  border-color: rgba(208, 255, 66, 0.64);
  background: rgba(208, 255, 66, 0.1);
}

.dev-tree-row.is-blocked {
  border-color: rgba(255, 98, 90, 0.62);
  background: rgba(255, 98, 90, 0.075);
}

.dev-tree-row.is-paused {
  border-color: rgba(255, 181, 71, 0.45);
  opacity: 0.72;
}

.dev-tree-row.is-dragging {
  opacity: 0.45;
}

.dev-tree-row.is-drop-target {
  border-color: var(--lime);
  box-shadow: inset 0 2px 0 var(--lime);
}

.dev-drag-handle,
.dev-expand-button {
  display: grid;
  width: 24px;
  height: 32px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  touch-action: none;
}

.dev-drag-handle {
  cursor: grab;
}

.dev-drag-handle:active {
  cursor: grabbing;
}

.dev-drag-handle-locked {
  color: rgba(255, 189, 88, 0.7);
  cursor: default;
}

.dev-expand-button {
  color: var(--lime);
  font-size: 18px;
}

.dev-expand-placeholder {
  width: 26px;
}

.dev-node-main {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 10px 12px 13px 3px;
  border: 0;
  background: transparent;
  text-align: left;
}

.dev-node-title,
.dev-node-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.dev-node-title b {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-node-title.dev-requirement-link {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.dev-node-title.dev-requirement-link:hover {
  color: var(--lime);
}

.dev-node-title.dev-requirement-link:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 4px;
}

.dev-tree-level-1 .dev-node-title b {
  color: var(--lime);
  font-size: 16px;
}

.dev-node-meta {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}

.dev-node-meta > span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--muted-2);
}

.dev-status {
  color: #c7d0ca;
}

.dev-status-developing,
.dev-status-released,
.dev-status-observing,
.dev-status-stable {
  color: var(--lime);
}

.dev-status-pending_test,
.dev-status-testing,
.dev-status-pending_gray,
.dev-status-graying {
  color: var(--warning);
}

.dev-status-blocked {
  color: #ff746d;
}

.dev-paused-mark {
  padding: 2px 7px;
  border: 1px solid rgba(255, 181, 71, 0.45);
  border-radius: 999px;
  color: #ffbd58;
  font-size: 10px;
  font-style: normal;
}

.dev-progress-track {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 53px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.dev-progress-track i {
  display: block;
  height: 100%;
  background: var(--lime);
}

.dev-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.dev-detail-actions .small-action,
.dev-detail-actions .danger-action {
  min-height: 32px;
  padding: 0 7px;
  border-radius: 9px;
  font-size: 11px;
}

.dev-detail-actions .danger-action {
  border-color: rgba(255, 98, 90, 0.36);
  color: #ff918b;
}

.dev-edit-form .detail-panel-header {
  padding-bottom: 13px;
}

.dev-edit-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-bottom: 92px;
}

.dev-edit-body label {
  display: grid;
  gap: 6px;
}

.dev-edit-body label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.dev-edit-body input,
.dev-edit-body select,
.dev-edit-body textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 9px;
  border: 1px solid rgba(225, 242, 226, 0.14);
  border-radius: 9px;
  background: #0b100e;
  color: var(--text);
  font-size: 12px;
}

.dev-edit-body textarea {
  resize: vertical;
  line-height: 1.45;
}

.dev-edit-body input[readonly] {
  color: var(--lime);
  cursor: default;
}

.dev-blocked-fields {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 98, 90, 0.36);
  border-radius: 12px;
  background: rgba(255, 98, 90, 0.055);
}

.dev-edit-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(225, 242, 226, 0.14);
  background: #0a0f0d;
}

.dev-edit-footer .primary-action,
.dev-edit-footer .secondary-action {
  width: auto;
  min-width: 82px;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 14px;
}

.dev-segmented {
  display: inline-flex !important;
  gap: 3px !important;
  padding: 3px;
  border: 1px solid rgba(225, 242, 226, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
}

.dev-segmented button {
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.dev-segmented button.active {
  border-color: var(--lime);
  color: var(--lime);
}

.dev-gantt-scroll {
  position: relative;
  max-height: calc(100vh - 330px);
  min-height: 520px;
  overflow: auto;
  border: 1px solid rgba(225, 242, 226, 0.13);
  border-radius: 12px;
  background: #080d0b;
  overscroll-behavior: contain;
  scrollbar-color: rgba(208, 255, 66, 0.46) rgba(255, 255, 255, 0.04);
}

.dev-calendar-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dev-workday-toggle {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(225, 242, 226, 0.16);
  border-radius: 999px;
  background: #111713;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.dev-workday-toggle input {
  width: 14px;
  height: 14px;
  accent-color: var(--lime);
}

.dev-gantt-grid {
  display: grid;
  grid-template-columns: 290px var(--timeline-width);
  width: max-content;
  min-width: 100%;
}

.dev-gantt-name-head,
.dev-gantt-time-head {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 58px;
  border-bottom: 1px solid rgba(225, 242, 226, 0.16);
  background: #111813;
}

.dev-gantt-name-head {
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid rgba(225, 242, 226, 0.14);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.dev-gantt-time-head {
  display: flex;
}

.dev-time-head-unit {
  display: grid;
  flex: 0 0 auto;
  place-content: center;
  border-right: 1px solid rgba(225, 242, 226, 0.07);
  text-align: center;
}

.dev-time-head-unit.is-weekend {
  background: rgba(255, 255, 255, 0.025);
}

.dev-time-head-unit small {
  color: var(--muted-2);
  font-size: 9px;
}

.dev-time-head-unit b {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
}

.dev-gantt-name-cell,
.dev-gantt-time-cell {
  min-height: 52px;
  border-bottom: 1px solid rgba(225, 242, 226, 0.075);
}

.dev-gantt-name-cell {
  position: sticky;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-right: 1px solid rgba(225, 242, 226, 0.12);
  background: #0c1210;
  cursor: pointer;
}

.dev-gantt-name-cell.level-1 {
  min-height: 62px;
  background: #141d17;
}

.dev-gantt-name-cell.level-2 {
  padding-left: 22px;
}

.dev-gantt-name-cell.level-3 {
  padding-left: 38px;
  background: #090e0c;
}

.dev-gantt-name-cell.is-selected {
  box-shadow: inset 2px 0 0 var(--lime);
}

.dev-gantt-name-cell > button {
  display: grid;
  width: 22px;
  height: 28px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--lime);
}

.dev-gantt-name-cell > div {
  min-width: 0;
}

.dev-gantt-name-cell strong,
.dev-gantt-name-cell small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-schedule-today {
  min-height: 22px;
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.dev-schedule-today:hover {
  text-decoration: underline;
}

.dev-gantt-name-cell strong {
  font-size: 12px;
}

.dev-gantt-name-cell.level-1 strong {
  color: var(--lime);
  font-size: 13px;
}

.dev-gantt-name-cell small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.dev-gantt-time-cell {
  position: relative;
  overflow: visible;
  cursor: pointer;
}

.dev-gantt-time-cell.is-blocked {
  background: rgba(255, 98, 90, 0.035);
}

.dev-gantt-grid-bg {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
}

.dev-gantt-grid-bg i {
  flex: 0 0 auto;
  border-right: 1px solid rgba(225, 242, 226, 0.05);
}

.dev-gantt-grid-bg i.is-weekend {
  background: rgba(255, 255, 255, 0.023);
}

.dev-gantt-grid-bg i.is-drag-range {
  background: rgba(208, 255, 66, 0.09);
  box-shadow: inset 0 1px 0 rgba(208, 255, 66, 0.2), inset 0 -1px 0 rgba(208, 255, 66, 0.2);
}

.dev-gantt-bar {
  position: absolute;
  top: 15px;
  z-index: 2;
  display: flex;
  align-items: center;
  min-width: 18px;
  height: 24px;
  overflow: visible;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: var(--lime);
  color: #071000;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  touch-action: none;
  cursor: grab;
}

.dev-gantt-bar > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dev-gantt-bar.phase-test {
  top: 4px;
  height: 13px;
  border: 1px solid var(--warning);
  background: #111710;
  color: var(--warning);
}

.dev-gantt-bar.phase-gray {
  top: 21px;
  height: 13px;
  border: 1px solid #72dbc3;
  background: #111710;
  color: #8be6d1;
}

.dev-gantt-bar.phase-observe {
  top: 38px;
  height: 13px;
  background: rgba(208, 255, 66, 0.22);
  color: var(--lime);
}

.dev-gantt-bar.is-blocked {
  background: #ff625a;
  color: #180403;
}

.dev-gantt-bar.is-adjusting {
  z-index: 6;
  opacity: 0.88;
  cursor: grabbing;
}

.dev-gantt-bar.is-selected {
  box-shadow: 0 0 0 2px #f2ffb2, 0 0 0 4px rgba(208, 255, 66, 0.18);
}

.dev-gantt-bar.has-schedule-conflict {
  box-shadow: 0 0 0 2px rgba(255, 166, 52, 0.9);
}

.dev-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 11px;
  opacity: 0;
  background: linear-gradient(90deg, rgba(208, 255, 66, 0.82), rgba(7, 16, 0, 0.22));
  cursor: ew-resize;
  transition: opacity 120ms ease;
}

.dev-resize-handle.left {
  left: 0;
  border-radius: 7px 0 0 7px;
}

.dev-resize-handle.right {
  right: 0;
  border-radius: 0 7px 7px 0;
  background: linear-gradient(270deg, rgba(208, 255, 66, 0.82), rgba(7, 16, 0, 0.22));
}

.dev-gantt-bar:hover .dev-resize-handle,
.dev-gantt-bar.is-selected .dev-resize-handle,
.dev-gantt-bar.is-adjusting .dev-resize-handle {
  opacity: 1;
}

.dev-schedule-conflict-mark {
  display: inline-flex;
  min-height: 18px;
  margin-top: 5px;
  padding: 0 7px;
  align-items: center;
  border: 1px solid rgba(255, 166, 52, 0.58);
  border-radius: 999px;
  background: rgba(255, 166, 52, 0.1);
  color: #ffa634;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.dev-gantt-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: block;
  min-width: 210px;
  max-width: 270px;
  padding: 9px 11px;
  border: 1px solid rgba(208, 255, 66, 0.32);
  border-radius: 8px;
  background: #0b110e;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  color: #f3f6f3;
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  white-space: pre-line;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.dev-gantt-bar:hover .dev-gantt-tooltip,
.dev-gantt-bar.is-adjusting .dev-gantt-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.dev-schedule-quick {
  position: absolute;
  top: 35px;
  z-index: 7;
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(208, 255, 66, 0.26);
  border-radius: 8px;
  background: #0d1410;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.dev-schedule-quick button {
  min-height: 24px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.dev-schedule-quick button:hover {
  background: rgba(208, 255, 66, 0.1);
  color: var(--lime);
}

.dev-schedule-notice {
  position: sticky;
  bottom: 10px;
  z-index: 30;
  display: flex;
  width: min(680px, calc(100% - 24px));
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px auto 0;
  padding: 9px 12px 9px 15px;
  border: 1px solid rgba(208, 255, 66, 0.42);
  border-radius: 10px;
  background: #111912;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.dev-schedule-notice.is-warning {
  border-color: rgba(255, 171, 64, 0.64);
}

.dev-schedule-notice > div:first-child {
  display: grid;
  gap: 3px;
}

.dev-schedule-notice strong {
  color: var(--lime);
  font-size: 12px;
}

.dev-schedule-notice.is-warning strong {
  color: #ffad42;
}

.dev-schedule-notice span {
  color: var(--muted);
  font-size: 10px;
}

.dev-schedule-notice > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.dev-schedule-notice button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(225, 242, 226, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #f4f6f4;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.dev-schedule-notice button:last-child {
  border-color: var(--lime);
  color: var(--lime);
}

.dev-release-marker {
  position: absolute;
  top: 20px;
  z-index: 4;
  display: grid;
  width: 36px;
  height: 32px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--lime);
  transform: translateX(-18px);
}

.dev-release-marker i {
  width: 11px;
  height: 11px;
  border: 1px solid var(--lime);
  background: #17210f;
  transform: rotate(45deg);
}

.dev-release-marker span {
  position: absolute;
  top: 24px;
  font-size: 8px;
  font-weight: 800;
}

.dev-today-line {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 1px;
  background: rgba(255, 98, 90, 0.78);
  pointer-events: none;
}

.dev-gantt-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
}

.dev-gantt-legend span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 6px;
  margin-right: 5px;
  border-radius: 2px;
  background: var(--lime);
  vertical-align: 1px;
}

.dev-gantt-legend .legend-test::before { border: 1px solid var(--warning); background: transparent; }
.dev-gantt-legend .legend-gray::before { border: 1px solid #72dbc3; background: transparent; }
.dev-gantt-legend .legend-release::before { width: 7px; height: 7px; border: 1px solid var(--lime); border-radius: 0; background: transparent; transform: rotate(45deg); }
.dev-gantt-legend .legend-observe::before { background: rgba(208, 255, 66, 0.26); }
.dev-gantt-legend .legend-blocked::before { background: #ff625a; }

@media (max-width: 1380px) {
  .dev-plan-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .workspace.workspace-dev-plan {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .workspace-dev-plan .sidebar-panel,
  .workspace-dev-plan .primary-panel,
  .workspace-dev-plan .detail-panel {
    min-height: auto;
    height: auto;
  }

  .dev-plan-filter-stack {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .dev-gantt-scroll {
    max-height: 680px;
  }
}

@media (max-width: 720px) {
  .dev-plan-heading,
  .dev-plan-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .dev-plan-summary,
  .dev-plan-filter-stack {
    grid-template-columns: 1fr;
  }

  .dev-tree-children {
    margin-left: 12px;
    padding-left: 9px;
  }

  .dev-node-meta {
    gap: 5px;
  }

  .dev-gantt-grid {
    grid-template-columns: 230px var(--timeline-width);
  }

  .dev-member-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .dev-member-manager {
    max-height: calc(100vh - 16px);
  }

  .dev-member-row {
    grid-template-columns: 1fr 1fr;
  }

  .dev-member-default,
  .dev-member-state,
  .dev-member-actions {
    grid-column: span 1;
  }

  .dev-member-add,
  .dev-member-add > div {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .dev-member-add {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dev-tree-row,
  .dev-gantt-bar {
    transition: none;
  }
}
