.ai-workspace {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(31, 48, 68, 0.05);
}
.ai-workspace-head {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf0f4;
  padding-bottom: 14px;
}
.ai-orb {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff1e6;
  color: #ff8200;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.ai-workspace h2 {
  margin: 0;
  font-size: 18px;
}
.ai-workspace-head p {
  margin: 4px 0 0;
  color: #8290a2;
  font-size: 13px;
}
.ai-input {
  display: block;
  width: 100%;
  min-height: 112px;
  margin-top: 16px;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  padding: 14px;
  resize: vertical;
  font: inherit;
  line-height: 1.7;
  box-sizing: border-box;
  outline: none;
}
.ai-input:focus {
  border-color: #ff9a3d;
  box-shadow: 0 0 0 3px rgba(255, 130, 0, 0.1);
}
.ai-input-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.ai-input-tools button,
.ai-secondary {
  border: 1px solid #e1e6ec;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  color: #566779;
  cursor: pointer;
}
.ai-input-tools span {
  margin-left: auto;
  color: #9aa6b4;
  font-size: 12px;
}
.ai-input-tools .ai-ask,
.ai-primary {
  background: #ff8200;
  color: #fff;
  border-color: #ff8200;
  border-radius: 8px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 600;
}
#ai-workspace-result {
  margin-top: 16px;
}
.ai-empty-state {
  background: #fafbfc;
  border: 1px dashed #dce3eb;
  border-radius: 10px;
  padding: 16px;
  color: #9aa6b4;
  font-size: 13px;
}
.ai-decision {
  border: 1px solid #ffd8b3;
  background: #fffaf5;
  border-radius: 10px;
  padding: 16px;
}
.ai-decision-label {
  display: inline-block;
  color: #c76400;
  background: #fff0df;
  border-radius: 99px;
  padding: 4px 9px;
  font-size: 12px;
}
.ai-decision h3 {
  margin: 10px 0 4px;
}
.ai-decision > p {
  margin: 0 0 12px;
  color: #69798b;
  font-size: 13px;
}
.ai-draft-wrap {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 9px;
  padding: 12px;
}
.ai-draft-label {
  color: #8290a2;
  font-size: 12px;
  margin-bottom: 8px;
}
.ai-draft-editor {
  min-height: 180px;
  outline: none;
  line-height: 1.7;
}
.ai-draft-editor h2,
.ai-draft-editor h3 {
  margin: 10px 0 5px;
}
.ai-result-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.ai-audit-note {
  display: block;
  margin-top: 10px;
  color: #9aa6b4;
  font-size: 12px;
}
.ai-context-card {
  border-color: #ffe0bd;
  background: #fffaf5;
}
.ai-context-flow {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #bd6a16;
  font-size: 12px;
  margin-top: 12px;
}
.ai-context-flow span {
  background: #fff0df;
  padding: 5px 8px;
  border-radius: 6px;
}
.ai-context-flow i {
  font-style: normal;
  color: #d09a63;
}
.no-project-workspace {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 292px;
  padding: 30px;
  border: 1px solid #dce9ed;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #f6fbfb 100%);
  box-shadow: 0 8px 24px rgba(31, 48, 68, 0.04);
}
.no-project-workspace-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e6f5f4;
  color: #167d80;
  font-size: 22px;
  font-weight: 800;
}
.no-project-workspace span {
  display: block;
  color: #438285;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.no-project-workspace h1 {
  margin: 6px 0 8px;
  color: #183b50;
  font-size: 22px;
}
.no-project-workspace p {
  max-width: 620px;
  margin: 0;
  color: #6f8491;
  line-height: 1.75;
}
.no-project-workspace-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.no-project-workspace-actions button {
  min-height: 38px;
}
.no-project-side-card p {
  margin: 0;
  color: #82949f;
  font-size: 13px;
  line-height: 1.65;
}
@media (max-width: 620px) {
  .no-project-workspace {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .no-project-workspace-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .no-project-workspace-actions button {
    width: 100%;
  }
}
#collab-board {
  display: none;
}
