/* One quiet visual language for conversations, ideas and deliveries. */
body.simple-workspace {
  --canvas: #faf8f3;
  --paper: #fffefb;
  --leaf-paper: #f4f0e7;
  --soft: #eeeae2;
  --ink: #242321;
  --ink-soft: #78746d;
  --line: #e5e0d7;
  --accent: #292824;
  --accent-hover: #46433c;
  --branch: #d3cbbc;
  --warning: #946b3f;
  --ui-bg: var(--canvas);
  --ui-surface: var(--paper);
  --ui-text: var(--ink);
  --ui-text-muted: var(--ink-soft);
  --ui-border: var(--line);
  --ui-accent: var(--accent);
  --bg: var(--canvas);
  --surface: var(--paper);
  --muted: var(--ink-soft);
  --text: var(--ink);
  color: var(--ink);
  background: var(--canvas);
  font-family:
    "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", system-ui,
    sans-serif;
  font-size: 14px;
}
[data-theme="dark"] body.simple-workspace {
  --canvas: #232220;
  --paper: #292825;
  --leaf-paper: #302e29;
  --soft: #38352f;
  --ink: #f0ede7;
  --ink-soft: #b2ada3;
  --line: #444039;
  --accent: #eee9df;
  --accent-hover: #fffdf8;
  --branch: #635c50;
  --warning: #dcba85;
}
.simple-workspace *,
.simple-workspace *::before,
.simple-workspace *::after {
  box-sizing: border-box;
}
.simple-workspace [hidden] {
  display: none !important;
}
.simple-workspace button,
.simple-workspace input,
.simple-workspace select,
.simple-workspace textarea {
  font: inherit;
}
.simple-workspace button,
.simple-workspace a {
  -webkit-tap-highlight-color: transparent;
}
.simple-workspace button {
  cursor: pointer;
  color: inherit;
}
.simple-workspace button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.simple-workspace :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.simple-workspace .app-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--canvas);
  box-shadow: none;
}
.simple-workspace .topbar {
  position: relative;
  flex: 0 0 64px;
  height: 64px;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}
.simple-workspace .brand {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.simple-workspace .brand-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 9px;
  border: 0;
  box-shadow: none;
}
.simple-workspace .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.simple-workspace .brand-name {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0;
}
.simple-workspace .brand-subtitle {
  display: flex;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}
.simple-workspace .brand-subtitle > span:last-child,
.simple-workspace .brand-subtitle::before,
.simple-workspace .brand-subtitle::after {
  display: none;
}
.simple-workspace .brand-module {
  color: var(--ink-soft);
  font-size: inherit;
  border: 0;
  padding: 0;
}
.simple-workspace .topbar-center,
.simple-workspace .workspace-nav,
.simple-workspace .role-label,
.simple-workspace .service-state {
  display: none !important;
}
.simple-workspace .topbar-actions {
  margin-left: auto;
  margin-right: 56px;
}
.simple-workspace .workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 0;
  height: auto;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.simple-workspace.owner-workspace .workspace,
.simple-workspace .workspace.is-admin-view {
  display: block;
}
.simple-workspace .main-content {
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: auto;
  background: var(--canvas);
}
.simple-workspace .sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  width: auto;
  height: 100%;
  padding: 24px 12px 20px;
  background: var(--canvas);
  border: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
}
.simple-workspace .sidebar-head {
  padding: 0 6px 18px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.simple-workspace .sidebar-head h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.simple-workspace #sidebarEyebrow,
.simple-workspace #sidebarFilters {
  display: none;
}
.simple-workspace .requirement-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  min-height: 0;
  overflow-y: auto;
}
.simple-workspace .requirement-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  padding: 13px 12px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  box-shadow: none;
}
.simple-workspace .requirement-item:hover,
.simple-workspace .requirement-item.is-active {
  background: var(--soft);
  color: var(--accent);
}
.simple-workspace .requirement-item-title {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  font-size: 13px;
}
.simple-workspace .requirement-item small {
  color: var(--ink-soft);
  font-size: 11px;
}
.simple-workspace .empty-list {
  padding: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}
.simple-workspace .settings-dock {
  position: fixed;
  top: 13px;
  right: 24px;
  bottom: auto;
  left: auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  z-index: 50;
}
.simple-workspace .settings-trigger {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: var(--soft);
  box-shadow: none;
}
.simple-workspace .settings-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-size: 13px;
}
.simple-workspace .settings-user,
.simple-workspace .settings-gear {
  display: none;
}
.simple-workspace .settings-menu {
  position: fixed;
  top: 58px;
  right: 20px;
  left: auto;
  bottom: auto;
  width: 260px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px #24201818;
  z-index: 100;
}
.simple-workspace .settings-section,
.simple-workspace .settings-menu-head,
.simple-workspace .settings-logout {
  color: var(--ink);
}
.simple-workspace .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  background-image: none;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: none;
  text-decoration: none;
  white-space: nowrap;
}
.simple-workspace .button-primary {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.simple-workspace .button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: none;
}
.simple-workspace .button-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.simple-workspace .button-secondary:hover {
  background: var(--soft);
  border-color: var(--branch);
  transform: none;
}
.simple-workspace .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
  box-shadow: none;
}
.simple-workspace .text-button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none;
  font-weight: 400;
}
.simple-workspace a {
  color: var(--accent);
}
.simple-workspace textarea,
.simple-workspace input,
.simple-workspace select {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  box-shadow: none;
}
.simple-workspace textarea {
  width: 100%;
  padding: 12px 14px;
  line-height: 1.8;
  resize: vertical;
}
.simple-workspace input::placeholder,
.simple-workspace textarea::placeholder {
  color: var(--ink-soft);
  opacity: 0.9;
}
.simple-workspace input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  padding: 0;
}
.simple-workspace .muted,
.simple-workspace .quiet-caption {
  color: var(--ink-soft);
}
.simple-workspace .quiet-caption {
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 12px;
}
.small-leaf {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--accent);
  background: var(--soft);
}
.small-leaf svg {
  width: 29px;
  height: 29px;
}
.simple-workspace .creator-menu-toggle {
  display: none;
}
.simple-chat-home {
  width: min(760px, 100%);
  margin: auto;
  padding: clamp(55px, 14vh, 145px) 32px 32px;
}
.simple-chat-home h1 {
  margin: 26px 0 14px;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
.simple-chat-home > p {
  margin: 0 0 30px;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 14px;
}
.simple-workspace .quick-composer {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: none;
  padding: 7px;
}
.simple-workspace .quick-composer textarea {
  display: block;
  width: 100%;
  min-height: 106px;
  max-height: 250px;
  border: 0;
  background: transparent;
  resize: none;
  font-size: 14px;
}
.simple-workspace .quick-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  gap: 8px;
  border: 0;
}
.simple-workspace .quick-composer-actions > span {
  font-size: 11px;
  color: var(--ink-soft);
}
.simple-workspace .starter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  color: var(--ink-soft);
}
.simple-workspace .starter-chip {
  border: 0;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink-soft);
  font-size: 11px;
}
.simple-creator-chat {
  display: flex;
  flex-direction: column;
  width: min(890px, 100%);
  height: 100%;
  min-height: 0;
  margin: auto;
  padding: 20px 34px 22px;
}
.creator-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 12px;
  padding: 0 0 14px;
  border: 0;
}
.creator-chat-header h1 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creator-chat-header > div {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
}
.creator-docs-button {
  display: flex;
  align-items: center;
  gap: 6px;
}
.creator-docs-button span {
  display: inline-flex;
  min-width: 17px;
  height: 17px;
  justify-content: center;
  align-items: center;
  background: var(--soft);
  border-radius: 50%;
  font-size: 10px;
}
.simple-workspace .conversation-scroll {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  overflow-y: auto;
  padding: 16px 12px 24px;
  border: 0;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.simple-workspace .message {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-width: 100%;
  width: auto;
  flex: 0 0 auto;
}
.simple-workspace .message-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 8px;
  padding: 0;
  letter-spacing: 0;
}
.simple-workspace .message-label > span {
  margin-left: 8px;
  font-size: 10px;
  opacity: 0.85;
}
.simple-workspace .message-body {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.simple-workspace .message.student {
  align-self: flex-end;
  max-width: 85%;
  padding: 12px 17px;
  background: var(--soft);
  border-radius: 17px 17px 4px 17px;
}
.simple-workspace .message.student .message-label {
  display: none;
}
.simple-workspace .message.teacher {
  padding: 15px 18px;
  border-left: 3px solid var(--branch);
  border-radius: 0 12px 12px 0;
  background: var(--leaf-paper);
}
.simple-workspace .message.teacher .message-label {
  color: var(--accent);
}
.creator-compose-area {
  flex: 0 0 auto;
  padding-top: 12px;
}
.simple-workspace .composer {
  width: 100%;
  padding: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: none;
  margin: 0;
}
.simple-workspace .composer textarea {
  display: block;
  min-height: 65px;
  max-height: 150px;
  width: 100%;
  border: 0;
  resize: none;
  background: transparent;
  font-size: 14px;
}
.simple-workspace .composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  margin: 0;
  gap: 8px;
  border: 0;
}
.simple-workspace .composer-hint {
  font-size: 10px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.simple-workspace .composer .action-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  margin: 0;
  flex: 0 0 auto;
}
.simple-workspace .composer .button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
}
.simple-workspace .simple-thinking {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  box-shadow: none;
}
.thinking-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 5px;
  animation: gentle-pulse 1.8s ease-in-out infinite;
}
@keyframes gentle-pulse {
  50% {
    opacity: 0.35;
  }
}
.submitted-note {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px 8px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}
.submitted-note > svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.submitted-note > button {
  margin-left: auto;
}
.garden-home {
  max-width: 940px;
  padding: 50px 30px;
  margin: auto;
}
.garden-home > header {
  margin-bottom: 32px;
}
.garden-home h1 {
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.5;
  font-weight: 600;
  margin: 22px 0 12px;
  letter-spacing: 0;
}
.garden-home header > p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 13px;
}
.garden-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 25px 0 17px;
}
.garden-toolbar nav {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}
.garden-toolbar nav button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
}
.garden-toolbar nav button.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.garden-toolbar nav button > span {
  padding-left: 6px;
  font-size: 10px;
}
.garden-toolbar input {
  width: 200px;
  min-width: 0;
  padding: 9px 12px;
  font-size: 11px;
  background: transparent;
}
.garden-projects {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.garden-project {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 24px 9px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}
.garden-project:hover {
  background: var(--soft);
}
.project-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: var(--soft);
  color: var(--accent);
  border-radius: 13px;
  font-size: 15px;
}
.garden-project > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.garden-project strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.garden-project small {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
}
.garden-project .soft-status {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--accent);
}
.garden-project > span:last-child {
  color: var(--ink-soft);
}
.garden-empty {
  text-align: center;
  margin: 0 auto;
  padding: 52px 20px;
  color: var(--ink-soft);
}
.garden-empty > svg {
  width: 50px;
  height: 50px;
  color: var(--accent);
}
.garden-empty h2 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
  color: var(--ink);
}
.garden-empty p {
  font-size: 13px;
  line-height: 1.8;
}
.garden-project-page {
  display: flex;
  flex-direction: column;
  width: min(1220px, 100%);
  height: 100%;
  min-height: 0;
  margin: auto;
  padding: 25px 34px 30px;
}
.garden-project-header {
  flex: 0 0 auto;
  padding: 0 0 20px;
}
.garden-project-header h1 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
  margin: 14px 0 6px;
  letter-spacing: 0;
}
.garden-project-header > p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
}
.garden-layout {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(275px, 0.82fr) minmax(0, 1.4fr);
  gap: 26px;
}
.growth-panel {
  background: var(--leaf-paper);
  border: 0;
  border-radius: 21px;
  padding: 20px 16px 10px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--branch) transparent;
}
.growth-panel > summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  color: var(--ink-soft);
  cursor: pointer;
  margin: 0 8px 15px;
}
.growth-panel > summary::-webkit-details-marker {
  display: none;
}
.growth-panel > summary > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
}
.growth-panel > summary svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
}
.growth-panel > summary small {
  font-size: 10px;
  line-height: 1.8;
}
.growth-tree {
  position: relative;
  min-height: 250px;
  isolation: isolate;
}
.tree-drawing {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.tree-trunk,
.tree-bough,
.tree-ground {
  fill: none;
  stroke: var(--branch);
  stroke-linecap: round;
}
.tree-trunk {
  stroke-width: 7;
}
.tree-bough {
  stroke-width: 3;
}
.tree-ground {
  stroke-width: 2;
}
.tree-small-leaf {
  fill: var(--branch);
  opacity: 0.65;
}
.garden-branches {
  list-style: none;
  padding: 0;
  margin: 0;
}
.garden-branch {
  height: 138px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 12px 0 0;
}
.garden-branch.leans-right {
  align-items: flex-end;
}
.idea-leaf {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 83%;
  height: 78px;
  flex: 0 0 78px;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 21px 21px 21px 5px;
  text-align: left;
  box-shadow: none;
}
.leans-right .idea-leaf {
  border-radius: 21px 21px 5px 21px;
}
.idea-leaf.is-selected {
  border-color: var(--accent);
  background: var(--paper);
}
.idea-leaf > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}
.idea-leaf small {
  color: var(--accent);
  font-size: 9px;
}
.idea-leaf strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 5px;
  overflow: hidden;
}
.idea-leaf em {
  font-size: 9px;
  font-style: normal;
  color: var(--ink-soft);
}
.fruit-row {
  display: flex;
  width: 92%;
  flex: 0 0 34px;
  min-width: 0;
  gap: 6px;
  padding: 0 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.leans-right .fruit-row {
  direction: rtl;
}
.product-fruit {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 15px 15px 15px 4px;
  background: var(--paper);
  padding: 5px 8px;
  color: var(--accent);
  font-size: 10px;
}
.product-fruit > svg {
  width: 16px;
  height: 16px;
}
.product-fruit.is-selected {
  border-color: var(--accent);
  background: var(--soft);
}
.product-fruit.needs-care {
  color: var(--warning);
}
.tree-seed {
  padding: 55px 10px 10px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 11px;
}
.simple-workspace .project-content-scroll {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--paper);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.idea-reading {
  min-width: 0;
}
.idea-reading h2 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  margin: 5px 0 14px;
  letter-spacing: 0;
}
.reading-intro {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  margin: 0 0 22px;
}
.gentle-changes {
  margin: 23px 0;
  padding: 18px 20px;
  background: var(--leaf-paper);
  border-radius: 14px;
}
.gentle-changes article {
  margin-top: 17px;
}
.gentle-changes h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 7px;
}
.gentle-changes article p {
  display: flex;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.8;
  margin: 4px 0;
}
.gentle-changes article .change-before {
  color: var(--ink-soft);
}
.gentle-changes article p > span {
  flex: 0 0 24px;
  font-size: 10px;
  color: var(--ink-soft);
  padding-top: 1px;
}
.summary-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--ink-soft);
  padding: 16px 0;
  flex-wrap: wrap;
}
.summary-status > svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
}
.calm-details {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
}
.calm-details > summary {
  padding: 16px 0;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.calm-details > summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 400;
}
.calm-details[open] > summary::after {
  content: "−";
}
.calm-details > summary::-webkit-details-marker {
  display: none;
}
.calm-details[open] {
  padding-bottom: 18px;
}
.friendly-plan {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.85;
}
.friendly-plan .idea-definition {
  font-size: 15px;
  line-height: 1.9;
}
.friendly-plan section {
  margin: 24px 0;
}
.friendly-plan h3 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}
.friendly-plan ul {
  padding-left: 19px;
  margin: 5px 0;
}
.friendly-plan li {
  padding: 3px 0;
}
.friendly-plan p {
  margin: 0;
  white-space: pre-wrap;
}
.literal-changes section {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.85;
}
.literal-changes h4 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 8px;
}
.literal-changes section > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  margin: 8px 0;
}
.literal-changes section > div:first-of-type {
  color: var(--ink-soft);
}
.literal-changes p,
.literal-changes ul {
  margin: 0;
}
.literal-changes ul {
  padding-left: 15px;
}
.literal-changes section > div > span {
  font-size: 10px;
  color: var(--ink-soft);
}
.gentle-review {
  margin: 25px 0 20px;
}
.gentle-review label {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}
.gentle-review textarea {
  margin-top: 9px;
  font-size: 13px;
  min-height: 75px;
}
.gentle-review > div {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}
.ready-to-grow {
  margin: 24px 0 17px;
}
.ready-to-grow > p {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0 0 12px;
}
.ready-to-grow > p > svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.simple-build-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.simple-build-form label {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: var(--ink-soft);
}
.simple-build-form label > span {
  display: block;
  margin-bottom: 6px;
}
.simple-build-form select {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  font-size: 12px;
}
.reading-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.reading-footer > button {
  font-size: 11px;
  color: var(--ink-soft);
}
.quiet-notice {
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 22px 0;
}
.feedback-reopen {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.8;
  padding: 14px 0;
}
.gentle-notes article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.gentle-notes p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.gentle-notes small {
  font-size: 10px;
  color: var(--ink-soft);
}
.conversation-reading .conversation-scroll {
  overflow: visible;
}
.delivery-reading .small-leaf {
  margin-bottom: 24px;
}
.delivery-reading progress {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 5px;
  appearance: none;
  accent-color: var(--accent);
}
.delivery-reading progress::-webkit-progress-bar {
  background: var(--soft);
  border-radius: 5px;
}
.delivery-reading progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 5px;
}
.sharing-notice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--leaf-paper);
  padding: 13px 15px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.9;
  margin: 20px 0;
}
.sharing-notice svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}
.friendly-files {
  border-top: 1px solid var(--line);
}
.friendly-files > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.8;
}
.friendly-files > div > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.friendly-files > div > span:last-child {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  align-items: center;
}
.friendly-files a {
  text-decoration: none;
}
.share-details {
  margin-top: 10px;
}
#materialShareForm > label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
  margin: 13px 0;
}
#materialShareForm > button {
  margin-top: 10px;
}
.delivery-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 12px;
}
.simple-workspace .technical-details .detail-page {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
}
.simple-workspace .technical-details .detail-page-head,
.simple-workspace .technical-details .build-progress-panel,
.simple-workspace .technical-details .pipeline-panel {
  display: none;
}
.simple-workspace .technical-details .content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
}
.simple-workspace .technical-details .content-tab {
  font-size: 11px;
  padding: 7px 9px;
}
.simple-workspace .technical-details .diagram-wrap {
  min-width: 0;
}
.simple-workspace .technical-details .architecture-layout {
  display: block;
}
.simple-workspace .technical-details .architecture-insights {
  display: none;
}
.simple-workspace .diagram-viewport {
  min-width: 0;
  min-height: 230px;
}
.simple-workspace .diagram-toolbar {
  flex-wrap: wrap;
  font-size: 11px;
}
.simple-workspace .diagram-toolbar button {
  padding: 5px 7px;
  font-size: 11px;
}
.simple-workspace .calm-dialog,
.simple-workspace #ownerPreview {
  width: min(780px, calc(100vw - 32px));
  max-width: 1080px;
  max-height: 86dvh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 70px #24201820;
}
.simple-workspace dialog::backdrop {
  background: #24201855;
  backdrop-filter: blur(3px);
}
.simple-workspace .calm-dialog > header,
.simple-workspace #ownerPreview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.simple-workspace .calm-dialog h2,
.simple-workspace #ownerPreview h2 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}
.simple-workspace .dialog-content,
.simple-workspace .owner-preview-content {
  overflow: auto;
  max-height: calc(86dvh - 80px);
  padding: 24px 28px;
  line-height: 1.85;
  font-size: 13px;
}
.simple-workspace .dialog-content pre,
.simple-workspace .owner-preview-content pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.creator-delivery {
  margin-bottom: 26px;
}
.creator-delivery h3 {
  font-size: 13px;
  font-weight: 500;
}
.creator-delivery h3 small {
  color: var(--ink-soft);
  margin-left: 8px;
  font-size: 11px;
}
.simple-workspace .admin-panel {
  max-width: 1180px;
  padding: 30px;
  margin: auto;
}
.simple-workspace .admin-panel h1 {
  font-size: 25px;
  font-weight: 600;
}
.simple-workspace .admin-panel .eyebrow {
  display: none;
}
.simple-workspace .admin-user-table {
  overflow: auto;
}
.simple-workspace .admin-panel input,
.simple-workspace .admin-panel select {
  min-width: 90px;
  padding: 9px;
  font-size: 12px;
}
.simple-workspace .tenant-settings {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 25px 0;
  background: var(--paper);
}
.tenant-settings summary {
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
}
.tenant-settings p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}
.tenant-settings form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}
.tenant-settings form input {
  flex: 1;
}
.simple-workspace .login-screen {
  background: var(--canvas);
}
.simple-workspace .login-shell {
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: 20px;
}
.simple-workspace .login-visual {
  background: #2b2925;
  background-image: none;
}
.simple-workspace .login-panel,
.simple-workspace .login-card {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}
.simple-workspace .login-card h1 {
  color: var(--ink);
  font-size: 27px;
}
.simple-workspace .login-copy,
.simple-workspace .login-card .field > span {
  color: var(--ink-soft);
}
.simple-workspace .login-visual::after,
.simple-workspace .login-visual::before,
.simple-workspace .login-art {
  display: none;
}
.simple-workspace #toastRegion {
  position: fixed;
  top: 76px;
  right: 20px;
  bottom: auto;
  left: auto;
  width: min(390px, calc(100vw - 30px));
  z-index: 150;
}
.simple-workspace .toast {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 5px 22px #24201812;
  font-size: 12px;
  line-height: 1.8;
}
.simple-workspace .toast.is-error {
  border-color: var(--warning);
  color: var(--warning);
}
@media (min-width: 1500px) {
  .garden-project-page {
    max-width: 1330px;
  }
  .garden-layout {
    grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.4fr);
    gap: 34px;
  }
  .simple-workspace .project-content-scroll {
    padding: 34px 42px;
  }
}
@media (max-width: 1100px) {
  .simple-workspace .workspace {
    grid-template-columns: 186px minmax(0, 1fr);
  }
  .simple-creator-chat {
    padding: 18px 23px;
  }
  .simple-workspace .composer-hint {
    display: none;
  }
  .simple-workspace .composer-actions {
    justify-content: flex-end;
  }
  .garden-project-page {
    padding: 22px 24px;
  }
  .garden-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 18px;
  }
  .simple-workspace .project-content-scroll {
    padding: 24px;
  }
  .idea-reading h2 {
    font-size: 20px;
  }
  .simple-build-form {
    flex-wrap: wrap;
  }
  .simple-build-form label {
    min-width: 160px;
  }
}
@media (max-width: 849px) {
  .garden-project-page {
    height: auto;
    min-height: 100%;
    padding: 20px;
  }
  .garden-project-header h1 {
    font-size: 22px;
  }
  .garden-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .growth-panel {
    padding: 16px;
    flex: 0 0 auto;
    max-height: 430px;
  }
  .growth-panel > summary {
    margin: 0;
  }
  .growth-panel > summary::after {
    content: "展开";
    margin-left: auto;
    font-size: 10px;
  }
  .growth-panel[open] > summary::after {
    content: "收起";
  }
  .growth-panel[open] > summary {
    margin-bottom: 15px;
  }
  .growth-tree {
    max-width: 360px;
    margin: auto;
  }
  .simple-workspace .project-content-scroll {
    overflow: visible;
    min-height: 250px;
  }
  .garden-home {
    padding: 35px 24px;
  }
}
@media (max-width: 640px) {
  .simple-workspace .topbar {
    height: 58px;
    min-height: 58px;
    flex-basis: 58px;
    padding: 0 15px;
    gap: 9px;
  }
  .simple-workspace .brand-name {
    font-size: 13px;
  }
  .simple-workspace .brand-subtitle {
    font-size: 10px;
  }
  .simple-workspace .brand-mark {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .simple-workspace .brand {
    gap: 8px;
  }
  .simple-workspace .settings-dock {
    top: 11px;
    right: 14px;
  }
  .simple-workspace .topbar-actions {
    margin-right: 39px;
  }
  .simple-workspace #adminPanelButton {
    font-size: 10px;
    padding: 6px 8px;
    min-height: 32px;
  }
  .simple-workspace .workspace {
    display: block;
  }
  .simple-workspace.creator-workspace .creator-menu-toggle {
    display: inline-flex;
    border: 0;
    font-size: 17px;
    width: 25px;
    min-width: 25px;
  }
  .simple-workspace .sidebar {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    bottom: 0;
    height: auto;
    width: min(280px, 85vw);
    border-right: 1px solid var(--line);
    background: var(--paper);
    z-index: 40;
  }
  .simple-workspace.creator-menu-open .sidebar {
    display: flex;
  }
  .simple-chat-home {
    padding: 60px 22px 24px;
  }
  .simple-chat-home h1 {
    font-size: 26px;
    margin-top: 24px;
  }
  .simple-chat-home > p {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 24px;
  }
  .simple-workspace .starter-row {
    gap: 7px;
  }
  .simple-workspace .starter-row > span {
    width: 100%;
    margin-bottom: 2px;
  }
  .simple-workspace .quick-composer textarea {
    font-size: 16px;
    min-height: 110px;
  }
  .simple-creator-chat {
    padding: 16px 12px 12px;
  }
  .creator-chat-header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 6px 12px;
  }
  .creator-chat-header h1 {
    font-size: 14px;
    flex: 1 1 150px;
  }
  .creator-chat-header > div {
    gap: 12px;
  }
  .simple-workspace .conversation-scroll {
    padding: 12px 7px 20px;
    gap: 24px;
  }
  .simple-workspace .message-body {
    font-size: 14px;
  }
  .simple-workspace .message.student {
    max-width: 94%;
  }
  .simple-workspace .composer textarea {
    min-height: 70px;
    max-height: 125px;
    font-size: 16px;
  }
  .simple-workspace .composer .action-row {
    gap: 8px;
  }
  .simple-workspace .composer .button {
    padding: 8px 12px;
    font-size: 12px;
  }
  .submitted-note {
    font-size: 10px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .submitted-note > button {
    font-size: 10px;
  }
  .garden-home {
    padding: 30px 19px;
  }
  .garden-home h1 {
    font-size: 24px;
  }
  .garden-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
  .garden-toolbar nav {
    gap: 25px;
  }
  .garden-toolbar input {
    width: 100%;
    font-size: 12px;
  }
  .garden-project {
    gap: 11px;
    padding: 20px 2px;
  }
  .project-avatar {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
    font-size: 13px;
  }
  .garden-project strong {
    font-size: 13px;
  }
  .garden-project .soft-status {
    font-size: 10px;
  }
  .garden-project small {
    font-size: 10px;
  }
  .garden-project-page {
    padding: 17px 13px 22px;
  }
  .garden-project-header {
    padding: 0 6px 17px;
  }
  .garden-project-header h1 {
    font-size: 21px;
  }
  .simple-workspace .project-content-scroll {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .growth-panel {
    border-radius: 16px;
  }
  .growth-panel > summary > span {
    font-size: 12px;
  }
  .growth-panel > summary small {
    font-size: 9px;
  }
  .idea-reading h2 {
    font-size: 20px;
  }
  .reading-intro {
    font-size: 13px;
  }
  .gentle-changes {
    padding: 16px;
  }
  .simple-build-form label {
    min-width: 135px;
  }
  .simple-build-form .button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .friendly-files > div {
    gap: 8px;
    font-size: 11px;
  }
  .friendly-files > div > span:last-child {
    gap: 10px;
  }
  .delivery-actions {
    flex-wrap: wrap;
  }
  .simple-workspace .calm-dialog,
  .simple-workspace #ownerPreview {
    width: calc(100vw - 20px);
    border-radius: 15px;
    max-height: 88dvh;
  }
  .simple-workspace .calm-dialog > header,
  .simple-workspace #ownerPreview > header {
    padding: 15px 18px;
  }
  .simple-workspace .dialog-content,
  .simple-workspace .owner-preview-content {
    padding: 18px;
  }
  .simple-workspace .admin-panel {
    padding: 20px 14px;
  }
  .simple-workspace .admin-create-form {
    display: flex;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .simple-workspace * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
