/* ------------------------------ 内页通用 ------------------------------ */

.aw-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 28px 60px;
}

.aw-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.aw-page-head h1 { margin: 0 0 6px; font-size: 24px; font-weight: 700; letter-spacing: 0.2px; }
.aw-page-head p { margin: 0; color: #6b7484; font-size: 13px; line-height: 1.7; }
.aw-page-head .aw-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.aw-panel {
  border: 1px solid rgba(29, 33, 41, 0.07);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(62, 84, 128, 0.05);
  overflow: hidden;
}
.aw-panel + .aw-panel { margin-top: 16px; }

.aw-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f7;
}
.aw-panel-head h2 { margin: 0; font-size: 15.5px; font-weight: 600; }
.aw-panel-head .aw-sub { color: var(--aw-muted); font-size: 12px; }
.aw-panel-body { padding: 20px; }

.aw-grid-2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 18px; align-items: start; }
.aw-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.aw-stack { display: flex; flex-direction: column; gap: 14px; }
.aw-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aw-spacer { flex: 1; }

.aw-stat { padding: 16px 18px; border-radius: 12px; background: #f7f9fd; border: 1px solid #eef1f7; }
.aw-stat span { display: block; margin-bottom: 5px; color: var(--aw-muted); font-size: 12px; }
.aw-stat b { font-size: 23px; font-weight: 700; letter-spacing: 0.5px; }
.aw-stat small { margin-left: 3px; color: var(--aw-muted); font-size: 11px; font-weight: 400; }

.aw-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.aw-search { position: relative; min-width: 220px; }
.aw-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #a9b2c0; }
.aw-search input { width: 100%; height: 36px; padding: 0 12px 0 34px; border: 1px solid #dce2ec; border-radius: 8px; font-size: 13px; outline: none; }
.aw-search input:focus { border-color: #6c9cff; box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.08); }

.aw-select {
  height: 36px;
  padding: 0 30px 0 11px;
  border: 1px solid #dce2ec;
  border-radius: 8px;
  background: #fff;
  color: #354052;
  font-size: 13px;
  outline: none;
}

.aw-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.aw-table th {
  padding: 11px 14px;
  background: #f8fafd;
  border-bottom: 1px solid #eef1f6;
  color: #6b7484;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.aw-table td { padding: 13px 14px; border-bottom: 1px solid #f1f3f8; color: #354052; vertical-align: middle; }
.aw-table tr:last-child td { border-bottom: 0; }
.aw-table tbody tr:hover { background: #fbfcff; }
.aw-table .is-strong { color: var(--aw-ink); font-weight: 600; }
.aw-table .is-num { color: var(--aw-ink); font-variant-numeric: tabular-nums; }
.aw-table .aw-cell-actions { display: flex; gap: 6px; justify-content: flex-end; }
.aw-table-wrap { overflow-x: auto; }

.aw-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0f4fb;
  color: #4e5969;
  font-size: 11.5px;
  line-height: 1.7;
  white-space: nowrap;
}
.aw-tag.blue { background: #eaf2ff; color: #1466d8; }
.aw-tag.green { background: #e9f8ef; color: #0f8a4b; }
.aw-tag.orange { background: #fff3e4; color: #c76a00; }
.aw-tag.red { background: #ffefed; color: #d92d20; }
.aw-tag.purple { background: #f2edff; color: #6d3fe0; }
.aw-tag.gray { background: #f2f4f7; color: #6b7484; }

.aw-status { display: inline-flex; align-items: center; gap: 5px; color: #0f8a4b; font-size: 12px; }
.aw-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.aw-status.draft { color: #b26a00; }
.aw-status.risk { color: #d92d20; }


/* ------------------------------ 表单 ------------------------------ */

.aw-form-card { padding: 24px; }
.aw-form-card .aw-form-title { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.aw-form-card .aw-form-desc { margin: 0 0 20px; color: var(--aw-muted); font-size: 12.5px; line-height: 1.7; }

.aw-required::after { content: " *"; color: #f04438; }

.aw-textarea-lg { min-height: 170px; }
.aw-textarea-xl { min-height: 260px; }

.aw-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f0f2f7;
}
.aw-form-foot .aw-note { color: var(--aw-muted); font-size: 11.5px; line-height: 1.6; }
.aw-form-foot .aw-row { flex: none; }

.aw-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed #cbd8ec;
  border-radius: 9px;
  background: #f9fbff;
  color: #5a6476;
  font-size: 12.5px;
}
.aw-upload svg { width: 17px; height: 17px; color: var(--aw-blue); }
.aw-upload input { display: none; }
.aw-upload label { cursor: pointer; color: var(--aw-blue); font-weight: 600; }

.aw-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.aw-chip {
  padding: 5px 10px;
  border: 1px solid #dce2ec;
  border-radius: 999px;
  background: #fff;
  color: #5a6476;
  font-size: 12px;
}
.aw-chip:hover, .aw-chip.is-on { border-color: #9fc0ff; background: #edf4ff; color: #1466d8; }

.aw-create-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.aw-create-aside { border-radius: 14px; padding: 20px; background: linear-gradient(160deg, #f4f8ff, #eef4ff); border: 1px solid #e3ecfb; }
.aw-create-aside h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.aw-create-aside ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aw-create-aside li { position: relative; padding-left: 20px; color: #5a6476; font-size: 12.5px; line-height: 1.7; }
.aw-create-aside li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: #165dff; font-weight: 700; font-size: 11px; }
.aw-create-aside .aw-mini-tip { margin-top: 14px; padding: 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.7); color: #7a8496; font-size: 11.5px; line-height: 1.7; }

.aw-mode-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #edf4ff; color: #1466d8; font-size: 12px; font-weight: 600; }
.aw-mode-pill.purple { background: #f2edff; color: #6d3fe0; }
.aw-mode-pill.yellow { background: #fff4dc; color: #a86300; }

.aw-config-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
}
.aw-config-row span { color: #4e5969; }
.aw-config-row input { width: 100%; height: 30px; padding: 0 8px; border: 1px solid #dce2ec; border-radius: 6px; font-size: 12px; text-align: right; }
.aw-config-list { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow: auto; }

.aw-rule-list { margin: 0; padding: 0 0 0 18px; color: #6b7484; font-size: 12px; line-height: 1.9; }
.aw-rule-list li::marker { color: #9fc0ff; }


/* ------------------------------ 编辑器 ------------------------------ */

.aw-editor {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 24px 24px;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.aw-chapters {
  position: sticky;
  top: calc(var(--aw-head) + 18px);
  max-height: calc(100vh - var(--aw-head) - 40px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(29, 33, 41, 0.07);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(62, 84, 128, 0.05);
  overflow: hidden;
}

.aw-chapters-head { padding: 14px 16px 10px; border-bottom: 1px solid #f0f2f7; }
.aw-chapters-head b { display: block; font-size: 13.5px; }
.aw-chapters-head span { color: var(--aw-muted); font-size: 11.5px; }
.aw-chapters-list { flex: 1; overflow: auto; padding: 7px; }
.aw-chapter-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4e5969;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
}
.aw-chapter-item i { flex: none; width: 18px; color: #a9b2c0; font-style: normal; font-size: 11px; line-height: 1.7; }
.aw-chapter-item span { flex: 1; min-width: 0; }
.aw-chapter-item em { flex: none; color: #b0b7c3; font-style: normal; font-size: 10.5px; }
.aw-chapter-item:hover { background: #f7f9fd; }
.aw-chapter-item.is-on { background: #edf4ff; color: #1466d8; font-weight: 600; }
.aw-chapter-item.is-on i, .aw-chapter-item.is-on em { color: #6c9cff; }
.aw-chapters-foot { padding: 9px; border-top: 1px solid #f0f2f7; }

.aw-editor-main {
  min-width: 0;
  min-height: calc(100vh - var(--aw-head) - 42px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(29, 33, 41, 0.07);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(62, 84, 128, 0.05);
  overflow: hidden;
}

.aw-editor-top { padding: 14px 18px 12px; border-bottom: 1px solid #f0f2f7; }
.aw-editor-title-row { display: flex; align-items: center; gap: 12px; }
.aw-title-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--aw-ink);
  font-size: 18px;
  font-weight: 700;
}
.aw-title-input:hover { background: #f8fafd; }
.aw-title-input:focus { outline: none; border-color: #6c9cff; background: #fff; box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.08); }
.aw-save-state { flex: none; color: var(--aw-muted); font-size: 11.5px; }
.aw-save-state.is-saved { color: #0f8a4b; }
.aw-save-state.is-saving { color: #b26a00; }

.aw-editor-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 7px; color: var(--aw-muted); font-size: 11.5px; }
.aw-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 18px;
  border-bottom: 1px solid #f0f2f7;
  background: #fcfdff;
}
.aw-editor-toolbar .aw-btn { height: 31px; padding: 0 10px; border-radius: 7px; font-size: 12px; }
.aw-editor-toolbar .aw-sep { width: 1px; height: 18px; margin: 0 4px; background: #e8ecf3; }

.aw-editor-body { flex: 1; min-height: 420px; padding: 0 24px 18px; display: flex; flex-direction: column; }
.aw-editor-body textarea {
  flex: 1;
  width: 100%;
  min-height: 420px;
  padding: 18px 4px;
  border: 0;
  outline: none;
  resize: none;
  color: #252b36;
  font-family: "Songti SC", "SimSun", "宋体", serif;
  font-size: 15.5px;
  line-height: 2;
  background: transparent;
}
.aw-editor-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border-top: 1px solid #f0f2f7;
  background: #fcfdff;
  color: var(--aw-muted);
  font-size: 11.5px;
}
.aw-editor-foot .aw-target { margin-left: auto; }

.aw-chapter-empty { padding: 40px 20px; color: var(--aw-muted); text-align: center; font-size: 13px; }


/* ------------------------------ 标书检查 ------------------------------ */

.aw-check-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 18px; align-items: start; }
.aw-score-card { padding: 22px; text-align: center; }
.aw-score-ring {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 4px auto 12px;
  border-radius: 50%;
  background: conic-gradient(var(--score-color, #165dff) calc(var(--p, 0) * 1%), #edf1f7 0);
  display: grid;
  place-items: center;
}
.aw-score-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.aw-score-ring b { position: relative; z-index: 1; color: var(--aw-ink); font-size: 31px; font-weight: 700; line-height: 1; }
.aw-score-ring b small { font-size: 12px; font-weight: 400; color: var(--aw-muted); }
.aw-score-grade { color: #4e5969; font-size: 13px; }
.aw-score-grade b { color: var(--score-color, #165dff); }
.aw-score-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.aw-score-stats div { padding: 9px 6px; border-radius: 8px; background: #f7f9fd; }
.aw-score-stats b { display: block; font-size: 17px; }
.aw-score-stats span { color: var(--aw-muted); font-size: 10.5px; }

.aw-issues { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.aw-issue { padding: 12px 14px; border: 1px solid #eef1f6; border-left: 3px solid #c5cfdd; border-radius: 8px; background: #fff; }
.aw-issue.high { border-left-color: #f04438; background: #fffafa; }
.aw-issue.medium { border-left-color: #ff9a2e; background: #fffdfa; }
.aw-issue.low { border-left-color: #ffd23f; background: #fffefa; }
.aw-issue-head { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.aw-issue-head b { font-size: 13px; }
.aw-issue p { margin: 0; color: #6b7484; font-size: 12px; line-height: 1.7; }
.aw-issue .aw-fix { margin-top: 5px; color: #1466d8; font-size: 11.5px; line-height: 1.6; }
.aw-issue .aw-fix::before { content: "建议："; color: #8a94a6; }
.aw-level { padding: 1px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 600; }
.aw-level.high { background: #ffefed; color: #d92d20; }
.aw-level.medium { background: #fff3e4; color: #b25c00; }
.aw-level.low { background: #fff8dc; color: #8a6a00; }


/* ------------------------------ 知识库 / 图片库 ------------------------------ */

.aw-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.aw-tabs button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #e4e9f1;
  border-radius: 999px;
  background: #fff;
  color: #5a6476;
  font-size: 12.5px;
}
.aw-tabs button.is-on { border-color: #bcd4ff; background: #edf4ff; color: #1466d8; font-weight: 600; }

.aw-memo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.aw-memo {
  position: relative;
  padding: 16px 16px 14px;
  border: 1px solid #eef1f6;
  border-radius: 11px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.aw-memo:hover { border-color: #d7e3f8; box-shadow: 0 8px 18px rgba(62, 84, 128, 0.07); }
.aw-memo .aw-memo-top { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.aw-memo h3 { margin: 0 0 7px; font-size: 14px; font-weight: 600; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.aw-memo p { margin: 0 0 12px; color: #6b7484; font-size: 12px; line-height: 1.75; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.aw-memo .aw-memo-foot { display: flex; align-items: center; justify-content: space-between; color: #a9b2c0; font-size: 11px; }
.aw-memo .aw-icon-actions { display: flex; gap: 2px; }
.aw-memo .aw-icon-actions button { border: 0; background: transparent; color: #a9b2c0; padding: 3px; }
.aw-memo .aw-icon-actions button:hover { color: #1466d8; }
.aw-memo .aw-icon-actions svg { width: 15px; height: 15px; }

.aw-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aw-photo {
  position: relative;
  border: 1px solid #eef1f6;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f9fd;
  cursor: pointer;
}
.aw-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #eef1f6; }
.aw-photo-info { padding: 8px 10px 9px; background: #fff; }
.aw-photo-info b { display: block; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-photo-info span { color: var(--aw-muted); font-size: 10.5px; }
.aw-photo .aw-photo-del {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.aw-photo:hover .aw-photo-del { opacity: 1; }
.aw-photo-del svg { width: 13px; height: 13px; }

.aw-preview-img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 10px; background: #f7f9fd; }

/* ------------------------------ 施工图表 ------------------------------ */

.aw-chart-canvas {
  overflow: auto;
  padding: 18px;
  border: 1px solid #eef1f6;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(22, 93, 255, 0.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(22, 93, 255, 0.04) 1px, transparent 1px) 0 0 / 24px 24px,
    #fff;
}
.aw-chart-canvas svg { width: auto; max-width: none; min-width: 100%; height: auto; display: block; }
.aw-task-row { display: grid; grid-template-columns: minmax(0, 1fr) 74px 66px 54px 30px; gap: 5px; align-items: center; margin-bottom: 8px; }
.aw-task-head { display: grid; grid-template-columns: minmax(0, 1fr) 74px 66px 54px 30px; gap: 5px; margin-bottom: 5px; color: #a9b2c0; font-size: 10.5px; }
.aw-task-head span:nth-child(n+2):not(:last-child) { text-align: center; }
.aw-task-row input, .aw-task-row select { height: 34px; padding: 0 7px; border: 1px solid #dce2ec; border-radius: 7px; font-size: 12px; min-width: 0; }
.aw-task-row button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 6px; background: #fff1f0; color: #d92d20; }
.aw-task-row button svg { width: 14px; height: 14px; }
.aw-chart-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; color: #6b7484; font-size: 11.5px; }
.aw-chart-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 2px; vertical-align: -1px; }

/* ------------------------------ 我的作品 ------------------------------ */

.aw-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aw-work {
  position: relative;
  padding: 17px;
  border: 1px solid #eef1f6;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.aw-work:hover { border-color: #d7e3f8; box-shadow: 0 10px 22px rgba(62, 84, 128, 0.08); transform: translateY(-1px); }
.aw-work-top { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.aw-work h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.aw-work p { margin: 0; color: #7a8496; font-size: 12px; line-height: 1.7; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.aw-work-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #a9b2c0; font-size: 11px; }
.aw-work-foot .aw-actions { margin-left: auto; display: flex; gap: 5px; }
.aw-progress { height: 4px; border-radius: 3px; background: #eef1f6; overflow: hidden; margin: 12px 0 0; }
.aw-progress i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #4d9dff, #165dff); }


/* ------------------------------ 邀请 ------------------------------ */

.aw-invite-hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(120deg, #2f7bff 0%, #6b5bff 60%, #a25bff 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(60, 83, 220, 0.25);
}
.aw-invite-hero::after { content: "🎁"; position: absolute; right: 34px; top: 50%; transform: translateY(-50%) rotate(-8deg); font-size: 92px; opacity: 0.18; }
.aw-invite-hero h1 { margin: 0 0 7px; font-size: 27px; }
.aw-invite-hero p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.82); font-size: 13px; }
.aw-code { display: flex; align-items: center; gap: 10px; max-width: 540px; padding: 9px 10px 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.24); }
.aw-code b { flex: 1; min-width: 0; font-size: 15px; letter-spacing: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-code button { height: 32px; padding: 0 13px; border: 0; border-radius: 7px; background: #fff; color: #165dff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.aw-code button svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }

/* ------------------------------ 企业版 ------------------------------ */

.aw-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.aw-plan { padding: 22px; border: 1px solid #e8edf6; border-radius: 14px; background: #fff; }
.aw-plan.is-hot { border-color: #bcd4ff; box-shadow: 0 12px 30px rgba(22, 93, 255, 0.1); }
.aw-plan h3 { margin: 0 0 5px; font-size: 16px; }
.aw-plan .aw-price { margin: 12px 0; font-size: 26px; font-weight: 700; }
.aw-plan .aw-price small { font-size: 12px; color: var(--aw-muted); font-weight: 400; }
.aw-plan ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: #5a6476; font-size: 12.5px; }
.aw-plan li::before { content: "✓"; color: #165dff; margin-right: 6px; }

/* ------------------------------ 内页响应式 ------------------------------ */

@media (max-width: 1080px) {
  .aw-check-layout { grid-template-columns: 1fr; }
  .aw-create-layout { grid-template-columns: 1fr; }
  .aw-create-aside { order: -1; }
  .aw-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aw-memo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .aw-editor { grid-template-columns: 1fr; padding: 12px; }
  .aw-chapters { position: static; max-height: none; }
  .aw-chapters-list { display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .aw-chapter-item { width: 190px; flex: none; }
  .aw-chapters-foot { display: none; }
  .aw-plan-grid { grid-template-columns: 1fr; }
  .aw-work-grid { grid-template-columns: 1fr; }
  .aw-task-row { grid-template-columns: minmax(0, 1fr) 100px 96px 34px; }
  .aw-task-row .aw-task-progress { display: none; }
}

@media (max-width: 720px) {
  .aw-page { padding: 18px 13px 40px; }
  .aw-page-head { flex-direction: column; gap: 10px; }
  .aw-page-head h1 { font-size: 20px; }
  .aw-page-head .aw-actions { width: 100%; }
  .aw-form-card, .aw-panel-body { padding: 15px; }
  .aw-panel-head { padding: 13px 15px; }
  .aw-grid-2, .aw-grid-3 { grid-template-columns: 1fr; }
  .aw-memo-grid, .aw-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-editor { padding: 8px; }
  .aw-editor-top { padding: 11px 12px 9px; }
  .aw-title-input { font-size: 16px; }
  .aw-editor-toolbar { padding: 7px 12px; }
  .aw-editor-body { padding: 0 14px 12px; }
  .aw-editor-body textarea { font-size: 14.5px; line-height: 1.95; }
  .aw-editor-foot { padding: 8px 12px; flex-wrap: wrap; }
  .aw-editor-meta { display: none; }
  .aw-invite-hero { padding: 22px 18px; }
  .aw-invite-hero h1 { font-size: 22px; }
  .aw-invite-hero::after { font-size: 64px; right: 12px; }
  .aw-code { flex-wrap: wrap; }
  .aw-task-row { grid-template-columns: minmax(0, 1fr) 88px 34px; }
  .aw-task-row .aw-task-start { display: none; }
  .aw-table th, .aw-table td { padding: 9px 10px; }
}

.aw-empty-line { padding: 28px; color: var(--aw-muted); text-align: center; font-size: 13px; }
