.design-guide { display: none !important; }

.project-task-progress {
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 45, 31, .05);
}
.task-progress-top,
.task-progress-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.task-progress-top { color: var(--muted); font-size: 13px; font-weight: 750; }
.task-progress-top strong { color: var(--forest); font-size: 15px; }
.task-progress-current { margin-top: 9px; }
.task-progress-current b { font-size: 14px; }
.task-dots { display: flex; gap: 6px; }
.task-dot { width: 28px; height: 5px; border-radius: 999px; background: #dfe6df; }
.task-dot.done { background: #9fba83; }
.task-dot.active { background: var(--forest); }

.project-task-flow { display: grid; gap: 10px; }
.project-task {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.project-task.is-active {
  border-color: #8eaa74;
  box-shadow: 0 12px 32px rgba(23, 54, 35, .08);
}
.task-heading {
  width: 100%;
  min-height: 64px;
  padding: 12px 15px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  text-align: left;
  color: var(--ink);
}
.task-heading:not([aria-disabled="true"]) { cursor: pointer; }
.task-heading[aria-disabled="true"] { cursor: default; opacity: .62; }
.task-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf2eb;
  color: var(--forest);
  font-weight: 850;
}
.is-active .task-number { background: var(--forest); color: white; }
.is-complete .task-number { background: #dceaca; }
.task-title { min-width: 0; }
.task-title b { display: block; font-size: 15px; }
.task-title small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.task-status {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef1ee;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.is-active .task-status { background: #e4efda; color: var(--forest); }
.is-complete .task-status { background: #f0f6e9; color: #4d6b35; }
.task-content { display: none; padding: 2px 14px 16px; }
.project-task.is-active > .task-content { display: block; }
.task-intro { margin: 2px 2px 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.task-content > .workspace,
.task-content > .suggestions,
.task-content > .control-card,
.task-content > .accept-card { margin-top: 0; }
.task-content > .suggestions,
.task-content > .control-card,
.task-content > .accept-card { box-shadow: none; border-radius: 14px; }
.task-next-wrap { display: flex; justify-content: flex-end; margin-top: 14px; }
.task-next { min-height: 48px; }

.layout-preview-only .layout-editor-help,
.layout-preview-only .layout-controls { display: none; }
.layout-preview-only .garden-stage .plant { pointer-events: none; cursor: default; }
.layout-preview-label {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #f6f9f4;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.layout-preview-label b { display: block; margin-bottom: 3px; color: var(--forest); }

@media (max-width: 620px) {
  .project-task-progress { position: sticky; top: 6px; z-index: 20; padding: 12px 14px; border-radius: 15px; }
  .task-progress-top strong { font-size: 14px; }
  .task-dot { width: 22px; }
  .project-task-flow { gap: 8px; }
  .task-heading { min-height: 60px; padding: 10px 12px; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; }
  .task-number { width: 34px; height: 34px; }
  .task-title small { display: none; }
  .task-status { padding: 5px 7px; }
  .task-content { padding: 2px 8px 12px; }
  .task-intro { margin: 2px 4px 12px; }
  .task-next-wrap {
    position: sticky;
    bottom: calc(env(safe-area-inset-bottom) + 8px);
    z-index: 18;
    margin: 12px 0 0;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 -8px 24px rgba(17,40,26,.12);
    backdrop-filter: blur(8px);
  }
  .task-next { width: 100%; min-height: 50px; }
  .project-task[data-task="4"].is-active .accept-actions {
    position: sticky;
    bottom: calc(env(safe-area-inset-bottom) + 8px);
    z-index: 18;
    padding: 8px;
    margin: 10px -8px -8px;
    border-radius: 14px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 -8px 24px rgba(17,40,26,.12);
    backdrop-filter: blur(8px);
  }
  .project-task[data-task="4"] .accept-actions .btn { width: 100%; min-height: 48px; }
}
