:root {
  --ink: #182033;
  --muted: #65708a;
  --line: #dce3ee;
  --paper: #f4f7fb;
  --panel: #ffffff;
  --haze: #eef2f7;
  --mint: #16a477;
  --mint-dark: #0d7658;
  --gold: #e4a11b;
  --clay: #e2673b;
  --blue: #4169e1;
  --violet: #6f4ee8;
  --violet-soft: #f2efff;
  --blue-soft: #edf4ff;
  --green-soft: #ecf9f3;
  --orange-soft: #fff4e7;
  --shadow: 0 16px 40px rgba(38, 54, 88, 0.10);
}

[hidden] {
  display: none !important;
}

/* 2025—2026 自媒体公开课程目录 */
.public-course-catalog {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.public-course-catalog.is-unified {
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
}

.public-course-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.public-course-heading h3 {
  margin: 5px 0 7px;
  font-size: 38px;
}

.public-course-heading p,
.public-course-source {
  margin: 0;
  color: var(--muted);
}

.public-course-total {
  display: flex;
  min-width: 110px;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
}

.public-course-total strong { font-size: 34px; }

.public-course-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(180px, 230px);
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
}

.public-course-search,
.public-course-category {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.public-course-search input,
.public-course-category select {
  min-height: 42px;
  width: 100%;
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.public-course-years {
  display: flex;
  align-self: end;
  padding: 3px;
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  background: #fff;
}

.public-course-years button {
  min-height: 34px;
  border: 0;
  border-radius: 3px;
  padding: 0 15px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.public-course-years button.is-active { background: var(--ink); color: #fff; }

.public-course-meta {
  margin: 15px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.public-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.public-course-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.public-course-card:hover {
  transform: translateY(-3px);
  border-color: #777;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
}

.public-course-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #111;
}

.public-course-cover img,
.public-course-cover-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.public-course-cover img { z-index: 1; object-fit: cover; transition: transform 220ms ease; }
.public-course-card:hover .public-course-cover img { transform: scale(1.025); }

.public-course-cover > b {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 2;
  border-radius: 3px;
  padding: 4px 7px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 11px;
}

.public-course-fallback {
  display: flex;
  height: 100%;
  padding: 18px;
  align-items: flex-end;
  justify-content: space-between;
  background: repeating-linear-gradient(135deg, #0b0b0b 0 12px, #171717 12px 24px);
  color: #fff;
}

.public-course-fallback span { font-size: 18px; font-weight: 900; }
.public-course-fallback strong { opacity: 0.6; }

.public-course-body {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 15px;
}

.public-course-tags {
  display: flex;
  min-height: 24px;
  flex-wrap: wrap;
  gap: 5px;
}

.public-course-tags span {
  border: 1px solid #d6d6d6;
  border-radius: 3px;
  padding: 2px 6px;
  color: #555;
  font-size: 11px;
}

.public-course-body h4 { margin: 10px 0 8px; font-size: 17px; line-height: 1.45; }
.public-course-body h4 a { color: var(--ink); text-decoration: none; }

.public-course-body p {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-course-body footer {
  display: flex;
  margin-top: auto;
  padding-top: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e7e7e7;
}

.public-course-body footer time { color: #777; font-size: 12px; }
.public-course-body footer a { color: var(--ink); font-size: 13px; font-weight: 900; text-decoration: none; }

.public-course-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.public-course-actions .public-course-detail-link,
.public-course-actions .public-course-study {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 5px;
  padding: 0 12px;
  white-space: nowrap;
}

.public-course-actions .public-course-detail-link { background: #fff; }
.public-course-actions .public-course-study { background: var(--ink); color: #fff; }
.public-course-actions .public-course-study:hover { background: #303030; }
.public-course-actions button.public-course-study { font: inherit; cursor: pointer; }
.public-course-actions .public-course-study.is-locked { border-style: dashed; background: #fff; color: var(--ink); }

.public-course-empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 180px;
  place-content: center;
  gap: 8px;
  border: 1px dashed #aaa;
  text-align: center;
}

.public-course-empty p { margin: 0; color: var(--muted); }

.public-course-pagination {
  display: flex;
  margin: 20px 0 14px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.public-course-pagination button {
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.public-course-pagination button:disabled { border-color: #ddd; color: #aaa; cursor: not-allowed; }
.public-course-page-jump { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.public-course-page-jump label { display: flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.public-course-page-jump input { width: 68px; min-height: 38px; box-sizing: border-box; border: 1px solid #aaa; border-radius: 5px; padding: 0 8px; background: #fff; color: var(--ink); text-align: center; font: inherit; }
.public-course-page-jump input:focus { border-color: var(--ink); outline: 2px solid rgba(0, 0, 0, .12); outline-offset: 1px; }
.public-course-page-jump button { padding-inline: 14px; background: var(--ink); color: #fff; }
.public-course-source { font-size: 12px; text-align: center; }

.public-course-cover,
.public-course-body h4 a,
.public-course-body footer a {
  cursor: pointer;
}

.public-course-detail-extra {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.public-course-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.public-course-detail-meta span,
.public-course-detail-meta time {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 9px;
  color: #555;
  font-size: 12px;
}

.public-course-detail-content {
  max-height: 34vh;
  overflow: auto;
  border-left: 3px solid var(--ink);
  padding: 14px 16px;
  background: #f5f5f5;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.85;
}

.public-course-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--ink);
  padding: 14px;
  background: #fff;
}

.public-course-download[hidden] { display: none; }
.public-course-download small,
.public-course-download strong { display: block; }
.public-course-download small { margin-bottom: 4px; color: var(--muted); }

.public-course-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  min-width: 0;
  align-items: center;
}

.public-course-link span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.public-course-link b {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.public-course-code {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-course-code[hidden] { display: none; }
.public-course-code b { border: 1px dashed #777; padding: 8px 10px; }

.admin-course-library { order: -1; }

.admin-course-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

.admin-course-toolbar input { width: 100%; }
.admin-course-toolbar span { color: var(--muted); font-size: 13px; }

.admin-course-table {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.admin-course-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  gap: 14px;
  min-width: 0;
  align-items: center;
  border: 1px solid var(--line);
  padding: 10px;
  background: #f8f8f8;
}

.admin-course-thumb {
  display: grid;
  width: 96px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  place-items: center;
  background: #111;
  color: #fff;
  font-weight: 900;
}

.admin-course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-course-summary { min-width: 0; }
.admin-course-summary strong { display: block; }
.admin-course-summary p { margin: 5px 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.admin-course-summary small { color: #777; }

.admin-course-status {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-course-status.status-published { border-color: #222; background: #222; color: #fff; }
.admin-course-status.status-draft { background: #eee; }
.admin-course-status.status-hidden { color: #777; text-decoration: line-through; }

.admin-course-dialog .dialog-card { width: min(860px, calc(100vw - 28px)); max-width: none; }
.admin-course-editor { max-height: min(90vh, 900px); overflow: auto; }
.admin-course-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.admin-course-fields label { display: grid; gap: 6px; min-width: 0; font-weight: 800; }
.admin-course-fields label span { font-size: 13px; }
.admin-course-fields .field-wide { grid-column: 1 / -1; }
.admin-course-fields textarea { resize: vertical; }
.dialog-actions #courseStudyLink[hidden] { display: none !important; }

@media (max-width: 980px) {
  .public-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-course-toolbar { grid-template-columns: 1fr 1fr; }
  .public-course-search { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .public-course-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }
  .public-course-heading h3 { font-size: 28px; }
  .public-course-total {
    min-width: 0;
    justify-content: flex-start;
  }
  .public-course-total strong { font-size: 26px; }
  .public-course-toolbar, .public-course-grid { grid-template-columns: 1fr; }
  .public-course-search { grid-column: auto; }
  .public-course-years button { flex: 1; padding: 0 10px; }
  .public-course-pagination { flex-wrap: wrap; gap: 8px; }
  .public-course-pagination > span { min-width: 54px; text-align: center; }
  .public-course-page-jump { width: 100%; justify-content: center; margin: 4px 0 0; }
  .public-course-page-jump input { width: 64px; }
  .public-course-download { align-items: stretch; flex-direction: column; }
  .public-course-link { grid-template-columns: 1fr 1fr; }
  .public-course-link b { grid-column: 1 / -1; }
  .public-course-link .ghost-button,
  .public-course-link .primary-button { width: 100%; text-align: center; }
  .public-course-code { flex-wrap: wrap; }
  .admin-course-toolbar { grid-template-columns: 1fr; }
  .admin-course-row { grid-template-columns: 72px minmax(0, 1fr); }
  .admin-course-thumb { width: 72px; }
  .admin-course-status { justify-self: start; }
  .admin-course-row .admin-row-actions { grid-column: 1 / -1; width: 100%; }
  .admin-course-row .admin-row-actions button { flex: 1; }
  .admin-course-fields { grid-template-columns: 1fr; }
  .admin-course-fields .field-wide { grid-column: auto; }
}

/* 四套3:4视频封面：主题、结果、结果强化、方法过程 */
.suite-studio-cover-canvas > .suite-cover-kicker,
.suite-studio-cover-canvas > .suite-cover-title,
.suite-studio-cover-canvas > .suite-cover-side,
.suite-studio-cover-canvas > .suite-cover-footer,
.suite-edit-cover-frame-preview > .suite-cover-kicker,
.suite-edit-cover-frame-preview > .suite-cover-title,
.suite-edit-cover-frame-preview > .suite-cover-side,
.suite-edit-cover-frame-preview > .suite-cover-footer {
  box-sizing: border-box;
  margin: 0;
  font-family: "方正粗黑宋简体", "SimHei", "Microsoft YaHei", sans-serif;
  font-weight: 1000;
  letter-spacing: 0;
}

.suite-studio-cover-canvas > .suite-cover-kicker,
.suite-edit-cover-frame-preview > .suite-cover-kicker {
  white-space: nowrap;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"]::after,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] .suite-edit-cover-preview-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.02) 44%, rgba(0,0,0,.12) 62%, rgba(0,0,0,.88));
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-kicker {
  top: 2%;
  right: 2%;
  left: 2%;
  color: #d4000b;
  font-size: 36px;
  line-height: 1;
  text-align: center;
  -webkit-text-stroke: 2px #fff;
  text-shadow: 3px 4px 0 #171717, -1px -1px 0 #fff;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-title {
  top: 27%;
  right: 3%;
  left: auto;
  width: 38%;
  color: #fff20a;
  font-size: 27px;
  line-height: 1.03;
  text-align: center;
  -webkit-text-stroke: 1px #111;
  text-shadow: 3px 3px 0 #111;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-side {
  top: 50%;
  right: 4%;
  width: 36%;
  color: #fff;
  font-size: 17px;
  line-height: 1.08;
  -webkit-text-stroke: 1px #111;
  text-shadow: 2px 2px 0 #111;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-footer {
  right: 3%;
  bottom: 10%;
  left: 3%;
  color: #fff;
  font-size: 25px;
  line-height: 1.04;
  -webkit-text-stroke: 1px #111;
  text-shadow: 3px 3px 0 #111;
}

.suite-studio-cover-canvas[data-cover-style="floating-type"]::after,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] .suite-edit-cover-preview-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.03) 45%, rgba(0,0,0,.08) 61%, rgba(0,0,0,.8));
}

.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-kicker {
  top: 2%;
  right: 3%;
  left: 3%;
  color: #fff;
  font-size: 37px;
  line-height: 1;
  text-align: center;
  transform: rotate(-2deg);
  -webkit-text-stroke: 1px #efefef;
  text-shadow: 4px 4px 0 rgba(0,0,0,.68);
}

.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-title {
  top: 27%;
  right: 3%;
  left: auto;
  width: auto;
  max-height: 42%;
  color: #63eee6;
  font-size: 30px;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  -webkit-text-stroke: 1px rgba(18,55,56,.7);
  text-shadow: 3px 3px 0 rgba(0,0,0,.55);
}

.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-side {
  top: auto;
  right: auto;
  bottom: 26%;
  left: 6%;
  color: #fff;
  font-size: 16px;
  transform: rotate(-9deg);
  -webkit-text-stroke: 1px rgba(0,0,0,.65);
}

.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-footer {
  right: 3%;
  bottom: 9%;
  left: 3%;
  color: #63eee6;
  font-size: 26px;
  line-height: 1.04;
  -webkit-text-stroke: 1px #153e3d;
  text-shadow: 3px 3px 0 rgba(0,0,0,.5);
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"]::before,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"]::before {
  border: 8px solid #ffe100;
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-kicker {
  top: 2%;
  left: 3%;
  padding: 3px 5px;
  color: #064cb8;
  background: #eaff22;
  font-size: 19px;
  line-height: 1;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-side {
  top: 2.5%;
  right: 4%;
  color: #111;
  font-size: 15px;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-title {
  right: 4%;
  bottom: 20%;
  left: 4%;
  max-height: none;
  color: #075ba2;
  font-size: 31px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255,225,0,.7);
  text-shadow: 2px 2px 0 rgba(255,255,255,.75);
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-footer {
  right: 5%;
  bottom: 8%;
  left: 5%;
  color: #075ba2;
  font-size: 14px;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-kicker {
  top: 3%;
  left: 3%;
  padding: 4px 6px;
  color: #064cb8;
  background: #dfff25;
  font-size: 18px;
  line-height: 1;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-side {
  right: 4%;
  bottom: 31%;
  padding: 4px 7px;
  color: #fff;
  background: #2168bd;
  font-size: 14px;
  line-height: 1;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-title {
  right: 3%;
  bottom: 18%;
  left: 3%;
  max-height: none;
  color: #dfff25;
  font-size: 32px;
  line-height: 1;
  -webkit-text-stroke: 1px #172132;
  text-shadow: 3px 3px 0 #172132;
}

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-footer {
  right: 4%;
  bottom: 8%;
  left: 4%;
  color: #58a9f6;
  font-size: 14px;
  text-shadow: 1px 1px 0 #111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 0 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(244, 244, 241, 0.88);
  backdrop-filter: blur(18px);
}

.brand-mark,
.site-nav,
.hero-actions,
.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.site-nav a,
.text-link {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.brand-mark strong {
  font-size: 18px;
  letter-spacing: 0;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid var(--ink);
  background: #fff;
}

.user-chip span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.user-chip strong {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.user-chip button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: stretch;
  min-height: 260px;
  padding: 34px;
  border: 1px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 238, 235, 0.96));
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.9;
  font-weight: 900;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 24px;
  flex-wrap: wrap;
}

.text-link {
  color: var(--ink);
  font-weight: 900;
}

.hero-panel,
.control-panel,
.result-dock,
.next-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 22px;
}

.platform-hero {
  min-height: 320px;
}

.platform-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
}

.platform-stats div:not(.progress-bar) {
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.platform-stats div:nth-child(3),
.platform-stats .progress-bar,
.platform-stats small {
  grid-column: 1 / -1;
}

.platform-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.platform-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.progress-top,
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.progress-top span,
.section-title span {
  font-weight: 800;
}

.progress-top strong,
.section-title small,
.hero-panel small {
  color: var(--muted);
}

.progress-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dcdcdc;
}

.progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  transition: width 360ms ease;
}

.workspace {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.signal-row article {
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.signal-row strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.signal-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.control-panel {
  align-self: start;
  padding: 18px;
}

.module-shell {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

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

.module-head h2 {
  font-size: 34px;
}

.module-head p:last-child {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.agent-grid,
.course-grid,
.memory-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.agent-card,
.course-card,
.memory-card {
  min-height: 240px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.agent-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.agent-topline,
.agent-actions,
.course-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.agent-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.agent-badge {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.agent-card h3,
.course-card h3 {
  margin: 0;
  font-size: 20px;
}

.agent-card > p,
.course-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.training-box {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f6f6f6;
}

.training-box span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.training-box p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.course-card {
  overflow: hidden;
}

.course-cover,
.course-detail-cover {
  position: relative;
  display: flex;
  min-height: 190px;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 18px;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.course-cover strong,
.course-cover span,
.course-detail-cover strong {
  position: relative;
  z-index: 1;
}

.course-cover strong {
  max-width: 75%;
  font-size: 24px;
  line-height: 1.12;
}

.course-cover span {
  font-weight: 900;
  opacity: 0.78;
}

.course-cover::before,
.course-detail-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.78)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
}

.course-cover.has-image::before,
.course-detail-cover.has-image::before {
  background: linear-gradient(180deg, rgba(29, 36, 51, 0.06), rgba(29, 36, 51, 0.78));
}

.tone-mint {
  background: linear-gradient(135deg, #050505, #555);
}

.tone-gold {
  background: linear-gradient(135deg, #1b1b1b, #777);
}

.tone-clay {
  background: linear-gradient(135deg, #2b2b2b, #999);
}

.course-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.course-actions .primary-button,
.course-actions .ghost-button,
.agent-actions .soft-button,
.agent-actions .ghost-button {
  min-height: 38px;
  padding: 0 13px;
  text-decoration: none;
}

.course-detail-cover {
  min-height: 230px;
  margin-top: 16px;
  border-radius: 8px;
}

.course-detail-cover strong {
  font-size: 30px;
  line-height: 1.12;
}

.course-detail-desc {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.memory-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.memory-card {
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 18px;
}

.memory-card div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.memory-card strong {
  font-size: 18px;
}

.memory-card small {
  color: var(--muted);
  font-weight: 800;
}

.memory-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.login-dialog {
  width: min(560px, calc(100% - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}

.login-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.login-card {
  display: grid;
  gap: 16px;
}

.login-card h2 {
  font-size: 30px;
}

.login-note {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.login-note.compact {
  margin: 0;
  font-size: 13px;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  background: #ededed;
}

.login-tab {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.login-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.login-pane {
  display: grid;
  gap: 14px;
}

.login-pane[hidden] {
  display: none;
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
  align-items: center;
}

.verification-row input {
  width: 100%;
}

.verification-row button {
  min-height: 44px;
  white-space: nowrap;
}


.persona-alert {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  background: #f3f3f3;
  color: var(--ink);
  font-size: 14px;
}

.outline-button,
.primary-button,
.ghost-button,
.soft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.outline-button {
  width: 100%;
  margin: 12px 0 18px;
  border-style: dashed;
  background: #fff;
  color: var(--ink);
}

.soft-button {
  border-color: var(--line);
  background: #f2f2f2;
  color: var(--ink);
}

.full-width {
  width: 100%;
  margin-top: 16px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

select,
input {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 98px;
  resize: vertical;
  padding: 12px;
}

.persona-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--ink);
  background: #f5f5f5;
}

.persona-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.persona-card strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.persona-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.workflow-list {
  display: grid;
  gap: 12px;
}

.step-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  transition:
    border-color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.step-card.is-active {
  border-color: var(--ink);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.step-card.is-complete {
  border-color: #8c8c8c;
  background: #f8f8f8;
}

.step-card.is-locked {
  color: #a0a8b6;
  background: rgba(247, 248, 250, 0.82);
}

.step-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f4f4f4;
  color: var(--ink);
  font-weight: 900;
}

.is-locked .step-index {
  background: #f0f2f4;
  color: #b6bdc8;
}

.step-main h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 17px;
}

.badge {
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef2f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.badge.done {
  border: 1px solid #8c8c8c;
  background: #fff;
  color: var(--ink);
}

.badge.active {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.step-model {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.step-main p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.run-button {
  min-width: 96px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.run-button:disabled {
  cursor: not-allowed;
  background: #e5e8ee;
  color: #a7afbd;
}

.step-open-button {
  min-width: 112px;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.step-open-button:disabled {
  border-color: var(--line);
  color: #a7afbd;
  cursor: not-allowed;
}

.step-card.is-expanded {
  align-items: start;
  border-color: var(--ink);
  background: #fff;
}

.workflow-step-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.workflow-step-panel[hidden] {
  display: none;
}

.workflow-goal,
.previous-result {
  padding: 14px;
  border-left: 4px solid var(--ink);
  background: #f5f5f5;
}

.workflow-goal p,
.previous-result p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-wrap;
}

.workflow-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workflow-field {
  display: grid;
  gap: 7px;
  align-content: start;
  font-size: 13px;
  font-weight: 800;
}

.workflow-field textarea {
  min-height: 92px;
}

.workflow-media-input {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed var(--ink);
  background: #fafafa;
  font-size: 13px;
  font-weight: 900;
}

.workflow-media-input input {
  height: auto;
  padding: 10px;
  background: #fff;
}

.workflow-media-input small {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.workflow-result {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--ink);
  background: #fff;
}

.workflow-result-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.workflow-result-head small {
  color: var(--muted);
}

.workflow-result textarea {
  min-height: 320px;
  border-color: var(--line);
  font-family: inherit;
  line-height: 1.75;
  white-space: pre-wrap;
}

.result-buttons {
  justify-content: flex-start;
}

.result-dock {
  margin-top: 18px;
  padding: 22px;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.result-dock h2 {
  font-size: 30px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.asset-card,
.empty-state {
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.asset-card small {
  color: var(--mint-dark);
  font-weight: 900;
}

.asset-card h3,
.empty-state strong {
  display: block;
  margin: 10px 0 8px;
}

.asset-card p,
.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.asset-card em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
}

.persona-dialog,
.chat-dialog {
  width: min(560px, calc(100% - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}

.persona-dialog::backdrop,
.chat-dialog::backdrop {
  background: rgba(0, 0, 0, 0.56);
}

.chat-dialog {
  width: min(820px, calc(100% - 28px));
}

.dialog-card {
  max-height: min(92vh, 920px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.workflow-studio-card {
  max-height: min(88vh, 920px);
  overflow-y: auto;
}

#workflowStudioBody {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.dialog-head,
.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dialog-head {
  position: sticky;
  top: -22px;
  z-index: 5;
  padding-bottom: 12px;
  background: #fff;
}

.dialog-head h2 {
  font-size: 28px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--ink);
  color: #fff;
}

.dialog-card label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.chat-card {
  display: grid;
  gap: 14px;
}

.chat-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid var(--line);
  background: #f3f3f3;
  color: var(--muted);
}

.chat-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.chat-meta strong {
  color: var(--ink);
}

.chat-meta p {
  width: 100%;
  margin: 0;
  line-height: 1.5;
}

.model-picker {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.model-picker select {
  max-width: 280px;
}

.chat-log {
  display: grid;
  gap: 12px;
  min-height: 280px;
  max-height: 420px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
}

.chat-empty {
  align-self: center;
  justify-self: center;
  max-width: 520px;
  text-align: center;
}

.chat-empty p {
  color: var(--muted);
  line-height: 1.7;
}

.chat-message {
  width: min(86%, 620px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.chat-message.is-user {
  justify-self: end;
  border-color: var(--ink);
  background: #f0f0f0;
}

.chat-message span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.chat-message p {
  margin: 8px 0 0;
  white-space: pre-wrap;
  line-height: 1.7;
}

.chat-message small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.chat-form textarea {
  min-height: 78px;
}

.chat-attachments {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.attach-button {
  display: grid;
  place-items: center;
  min-width: 96px;
  min-height: 78px;
  margin: 0;
  border: 1px dashed var(--ink);
  border-radius: 8px;
  background: #f4f4f4;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.attach-button input {
  display: none;
}

.attachment-chip {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.attachment-chip img,
.video-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--ink);
}

.video-thumb {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.attachment-chip strong,
.attachment-chip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-chip small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.attachment-chip button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.message-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 180px));
  gap: 10px;
  margin-top: 10px;
}

.message-attachments figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.message-attachments img,
.message-attachments video,
.video-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111827;
}

.video-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.message-attachments figcaption {
  padding: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.knowledge-help {
  padding: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
}

.knowledge-help p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.knowledge-training-card {
  max-height: min(92vh, 980px);
  overflow-y: auto;
}

#pinnedStoryEmphasisPromptWrap {
  gap: 8px;
  padding: 14px;
  border: 1px solid #d8b54d;
  background: #fff8df;
}

#pinnedStoryEmphasisPromptWrap textarea {
  min-height: 78px;
}

#pinnedStoryEmphasisPromptWrap small {
  color: #665522;
  line-height: 1.5;
}

.training-chat-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--ink);
  background: #fafafa;
}

.training-section-head,
.training-memory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.training-section-head h3,
.training-memory-head h3 {
  margin: 3px 0 0;
  font-size: 18px;
}

.compact-picker {
  min-width: 180px;
}

.training-chat-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.training-chat-log {
  min-height: 180px;
  max-height: 320px;
  background: #fff;
}

.training-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.training-chat-form textarea {
  min-height: 88px;
}

.training-chat-form button {
  width: 190px;
}

.training-clear-button {
  justify-self: end;
}

.training-memory-head {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.training-memory-head strong {
  padding: 7px 10px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 13px;
}

.file-upload {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.file-upload input {
  height: auto;
  padding: 12px;
}

.knowledge-list {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

.knowledge-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.knowledge-item div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.knowledge-item small {
  color: var(--muted);
  font-weight: 800;
}

.knowledge-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.admin-head,
.admin-card-head,
.admin-row,
.admin-actions,
.admin-login-row,
.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-head,
.admin-card-head,
.admin-row {
  justify-content: space-between;
}

.admin-head h2 {
  font-size: 36px;
}

.admin-head p,
.admin-card-head p,
.admin-gate p,
.danger-zone p,
.admin-row p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.import-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.import-button input {
  display: none;
}

.admin-gate {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: #f5f5f5;
}

.admin-login-row {
  margin-top: 14px;
}

.admin-login-row input {
  max-width: 320px;
}

.admin-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.admin-workspace.admin-catalog-mode {
  display: block;
}

.admin-category-navigator {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: #fff;
}

.admin-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 24px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-category-heading small,
.admin-category-heading h3,
.admin-category-heading p,
.admin-function-search span {
  display: block;
  margin: 0;
}

.admin-category-heading small {
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 800;
}

.admin-category-heading h3 {
  font-size: 24px;
}

.admin-category-heading p {
  margin-top: 6px;
  color: var(--muted);
}

.admin-function-search span {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.admin-function-search input {
  width: 100%;
}

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

.admin-category-button,
.admin-subcategory-button {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.admin-category-button {
  min-height: 84px;
  padding: 14px 38px 14px 14px;
}

.admin-category-button span,
.admin-subcategory-button span {
  font-weight: 800;
}

.admin-category-button small,
.admin-subcategory-button small {
  color: var(--muted);
  line-height: 1.45;
}

.admin-category-button b {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #ededed;
  font-size: 12px;
}

.admin-category-button:hover,
.admin-subcategory-button:hover {
  border-color: var(--ink);
  background: #f5f5f5;
}

.admin-category-button.is-active,
.admin-subcategory-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.admin-category-button.is-active small,
.admin-subcategory-button.is-active small {
  color: #d7d7d7;
}

.admin-category-button.is-active b {
  background: #fff;
  color: var(--ink);
}

.admin-subcategory-panel {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f6f6f6;
}

.admin-subcategory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-subcategory-head strong {
  font-size: 18px;
}

.admin-subcategory-head span {
  color: var(--muted);
  font-size: 13px;
}

.admin-subcategory-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-subcategory-button {
  min-height: 72px;
  padding: 12px 14px;
}

.admin-function-empty {
  grid-column: 1 / -1;
  display: flex;
  min-height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.admin-function-empty strong {
  color: var(--ink);
}

.admin-catalog-mode > .admin-card {
  width: 100%;
  margin-top: 0;
}

.admin-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-card.wide {
  grid-column: 1 / -1;
}

.admin-card h3 {
  margin: 0;
  font-size: 22px;
}

.admin-user-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  border: 1px solid var(--line);
}

.admin-user-stats article {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: #f7f7f7;
}

.admin-user-stats article:last-child {
  border-right: 0;
}

.admin-user-stats span,
.admin-user-row small,
.admin-user-row dt {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-user-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.admin-user-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.admin-user-toolbar span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.admin-user-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.admin-user-row {
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-user-row > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-user-row > header strong,
.admin-user-row > header span {
  display: block;
}

.admin-user-row > header strong {
  margin: 4px 0;
  font-size: 18px;
}

.admin-user-row > header span {
  color: var(--muted);
}

.admin-user-badges {
  display: flex;
  gap: 8px;
}

.admin-user-badges b,
.admin-user-badges em {
  padding: 5px 8px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.admin-user-badges b {
  color: #fff;
  background: var(--ink);
}

.admin-user-row dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
  background: #f5f5f5;
}

.admin-user-row dl div,
.admin-user-row dd {
  min-width: 0;
  margin: 0;
}

.admin-user-row dd {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.admin-user-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-user-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-user-controls .wide,
.admin-user-controls .primary-button {
  grid-column: 1 / -1;
}

.admin-user-controls textarea {
  min-height: 68px;
  resize: vertical;
}

.admin-user-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 32px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.admin-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-two {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 10px;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-agent-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.admin-agent-group-head {
  padding: 14px 16px;
  color: #fff;
  background: #111;
}

.admin-agent-group-head h4,
.admin-agent-group-head p { margin: 0; }

.admin-agent-group-head p { margin-top: 4px; color: #ccc; font-size: 12px; }

.admin-agent-group-list { display: grid; gap: 8px; padding: 10px; }

.admin-script-agent-row { margin: 0; }

.admin-row .admin-agent-surface {
  display: inline-block;
  margin-top: 9px;
  padding: 5px 8px;
  color: #3f2ea9;
  background: #eeeaff;
  border-radius: 4px;
  font-weight: 700;
  word-break: break-word;
}

.admin-row {
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f7f7f7;
}

.admin-row strong {
  display: block;
}

.admin-row span {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  word-break: break-all;
}

.admin-row-actions {
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.danger-zone {
  border-color: var(--ink);
  background: #f3f3f3;
}

.dialog-actions {
  margin-top: 18px;
  justify-content: flex-end;
}

.compact-actions {
  margin-top: 10px;
}

.compact-actions .primary-button {
  width: 100%;
}

.primary-button {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
}

.ghost-button {
  background: #fff;
  color: var(--muted);
  padding: 0 18px;
}

.control-panel .ghost-button {
  min-height: 40px;
  color: #8a94a6;
}

.next-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 22px;
  margin-top: 18px;
  padding: 24px;
}

.next-panel h2 {
  font-size: 28px;
  line-height: 1.18;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.next-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.next-grid strong {
  display: block;
  margin-bottom: 8px;
}

.next-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(360px, calc(100% - 36px));
  padding: 13px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 860px) {
  .admin-category-heading,
  .admin-category-list,
  .admin-subcategory-list {
    grid-template-columns: 1fr;
  }

  .admin-category-heading {
    align-items: stretch;
  }

  .admin-category-button {
    min-height: 70px;
  }

  .admin-subcategory-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  .result-head,
  .admin-head,
  .admin-card-head,
  .admin-row,
  .next-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .user-chip {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .workspace,
  .signal-row,
  .next-panel,
  .admin-workspace,
  .admin-two,
  .agent-grid,
  .course-grid,
  .memory-list,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .admin-user-stats,
  .admin-user-toolbar,
  .admin-user-row dl,
  .admin-user-controls {
    grid-template-columns: 1fr;
  }

  .admin-user-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-user-stats article:last-child {
    border-bottom: 0;
  }

  .admin-user-row > header {
    flex-direction: column;
  }

  .module-head {
    flex-direction: column;
  }

  .module-head .primary-button {
    width: 100%;
  }

  .hero {
    padding: 24px;
  }

  .result-actions {
    width: 100%;
  }

  .result-actions button,
  .admin-actions,
  .admin-actions button,
  .admin-actions label,
  .admin-login-row,
  .admin-login-row input,
  .admin-login-row button,
  .admin-row-actions {
    width: 100%;
  }

  .result-actions button,
  .admin-row-actions button {
    flex: 1;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .training-section-head,
  .training-memory-head {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-picker,
  .training-chat-form button {
    width: 100%;
    max-width: none;
  }

  .training-chat-form {
    grid-template-columns: 1fr;
  }

  .chat-message {
    width: 100%;
  }


  .asset-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .run-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .step-open-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .workflow-form-grid {
    grid-template-columns: 1fr;
  }

  .workflow-actions > * {
    width: 100%;
  }

  .workflow-result-head {
    flex-direction: column;
  }

  .step-main h3 {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Creator suite */
#creatorSuiteRoot { min-height: 100vh; background: #f5f5f3; color: #111; }
#creatorSuiteRoot, #creatorSuiteRoot * { box-sizing: border-box; }
.legacy-host { display: none; }
.suite-shell { min-height: 100vh; display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.suite-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 228px; display: flex; flex-direction: column; background: #0a0a0a; color: #fff; border-right: 1px solid #292929; }
.suite-brand { height: 74px; display: flex; align-items: center; gap: 11px; padding: 0 18px; color: #fff; background: transparent; border: 0; text-align: left; }
.suite-brand span { display: grid; place-items: center; width: 34px; height: 34px; background: #fff; color: #000; font-weight: 900; border-radius: 4px; }
.suite-brand strong { font-size: 16px; letter-spacing: 0; }
.suite-customer-switch { padding: 14px 14px 16px; border-block: 1px solid #262626; }
.suite-customer-switch small { display: block; margin-bottom: 8px; color: #8d8d8d; }
.suite-customer-switch button { width: 100%; overflow: hidden; padding: 10px; color: #fff; background: #1d1d1d; border: 1px solid #3b3b3b; border-radius: 4px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.suite-nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.suite-nav section { margin-bottom: 15px; }
.suite-nav p { margin: 0 10px 6px; color: #686868; font-size: 11px; }
.suite-nav button { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 10px; padding: 7px 10px; color: #aaa; background: transparent; border: 0; border-radius: 4px; text-align: left; }
.suite-nav button:hover, .suite-nav button.active { color: #fff; background: #242424; }
.suite-nav i { width: 22px; height: 22px; display: grid; place-items: center; color: inherit; border: 1px solid currentColor; border-radius: 4px; font-size: 11px; font-style: normal; }
.suite-nav-status { flex: 0 0 auto; margin-left: auto; padding: 2px 5px; border-radius: 3px; color: #5a3a00; background: #ffd85a; font-size: 9px; font-style: normal; font-weight: 900; line-height: 1.2; }
.suite-sidebar-foot { padding: 12px; border-top: 1px solid #262626; }
.suite-sidebar-account { padding: 11px; border: 1px solid #343434; border-radius: 6px; background: #181818; }
.suite-sidebar-account-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid #303030; }
.suite-sidebar-account-head strong { min-width: 0; overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.suite-sidebar-account-head span { flex: 0 0 auto; padding: 3px 6px; color: #111; border-radius: 4px; background: #fff; font-size: 10px; font-weight: 850; }
.suite-sidebar-account dl { display: grid; gap: 6px; margin: 9px 0 0; }
.suite-sidebar-account dl div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px; align-items: start; }
.suite-sidebar-account dt { color: #777; font-size: 10px; }
.suite-sidebar-account dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #d8d8d8; font-size: 11px; line-height: 1.4; }
.suite-sidebar-account.is-guest dl { opacity: .55; }
.suite-sidebar-foot > button { width: 100%; min-height: 34px; margin-top: 8px; color: #bbb; background: transparent; border: 1px solid #343434; border-radius: 6px; }
.suite-sidebar-foot > button:hover { color: #fff; border-color: #666; background: #242424; }
.suite-main { grid-column: 2; min-width: 0; }
.suite-topbar { min-height: 74px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 11px clamp(18px, 4vw, 54px); background: rgba(255,255,255,.96); border-bottom: 1px solid #ddd; }
.suite-topbar p { margin: 0 0 2px; font-size: 10px; font-weight: 800; }
.suite-topbar h1 { margin: 0; font-size: 21px; }
.suite-account { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.suite-account span { padding-right: 18px; border-right: 1px solid #ddd; }
.suite-account em { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; color: #fff; background: #111; border: 1px solid #111; border-radius: 4px; font-style: normal; font-weight: 800; white-space: nowrap; }
.suite-account button { min-height: 34px; padding: 0 12px; color: #111; background: #fff; border: 1px solid #bbb; border-radius: 4px; font-weight: 750; }
.suite-account button:hover { background: #111; color: #fff; border-color: #111; }
.suite-menu-button { display: none; }
.suite-content { max-width: 1440px; margin: 0 auto; padding: 28px clamp(18px, 4vw, 54px) 70px; }
.suite-page { display: none; }
.suite-page.active { display: block; }
.suite-welcome { min-height: 176px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 32px; color: #fff; background: #111; border-radius: 6px; }
.suite-welcome p { margin: 0 0 18px; color: #999; }
.suite-welcome h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 42px); }
.suite-welcome span { color: #cfcfcf; }
.suite-primary, .suite-secondary { min-height: 42px; padding: 0 18px; border-radius: 4px; font-weight: 750; }
.suite-primary { color: #fff; background: #050505; border: 1px solid #050505; }
.suite-welcome .suite-primary { color: #000; background: #fff; border-color: #fff; }
.suite-secondary { color: #111; background: #fff; border: 1px solid #ccc; }
.suite-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; background: #d7d7d7; border: 1px solid #d7d7d7; }
.suite-metrics article { padding: 19px 22px; background: #fff; }
.suite-metrics span, .suite-metrics small { display: block; color: #777; font-size: 12px; }
.suite-metrics strong { display: block; margin: 8px 0; font-size: 29px; }
.suite-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 30px 0 16px; }
.suite-section-heading small { font-weight: 900; font-size: 10px; }
.suite-section-heading h2 { margin: 3px 0; font-size: 25px; }
.suite-heading-status { display: inline-flex; align-items: center; min-height: 22px; margin-left: 7px; padding: 2px 7px; border-radius: 4px; vertical-align: 3px; color: #5a3a00; background: #ffd85a; font-size: 11px; font-style: normal; font-weight: 900; }
.suite-section-heading p { max-width: 760px; margin: 6px 0 0; color: #666; line-height: 1.65; }
.suite-section-heading > button, .suite-section-heading > span { flex: 0 0 auto; }
.suite-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d5d5d5; background: #d5d5d5; gap: 1px; }
.suite-feature-grid article { min-height: 190px; position: relative; padding: 22px; background: #fff; }
.suite-feature-grid article > b { color: #aaa; font-size: 12px; }
.suite-feature-grid h3 { margin: 28px 0 7px; font-size: 18px; }
.suite-feature-grid p { min-height: 48px; color: #666; line-height: 1.6; }
.suite-feature-grid button { padding: 0; background: transparent; border: 0; font-weight: 800; }
.suite-history-list { border: 1px solid #ddd; background: #fff; }
.suite-history-list article { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 19px; border-bottom: 1px solid #e5e5e5; }
.suite-history-list article:last-child { border: 0; }
.suite-history-list span { color: #666; font-size: 11px; }
.suite-history-list h3 { margin: 3px 0; font-size: 15px; }
.suite-history-list button, .suite-section-heading > button { padding: 8px 12px; background: #fff; border: 1px solid #ccc; border-radius: 4px; }

.suite-original-studio { display: grid; gap: 16px; min-width: 0; }
.suite-original-hero { background: linear-gradient(135deg, #18152f 0%, #352278 62%, #164b69 100%); }
.suite-original-field-grid { display: grid; grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr); gap: 14px; }
.suite-original-field-grid .wide { grid-column: 1 / -1; }
.suite-original-field-grid textarea { min-height: 108px; }
.original-generate { background: linear-gradient(90deg, #6a35ff, #d22688); border-color: transparent; }

.suite-history-list { display: grid; gap: 14px; border: 0; background: transparent; }
.suite-history-list .suite-history-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 0 22px; padding: 0; overflow: hidden; border: 1px solid #d8ddea; border-top: 3px solid #6846e8; border-radius: 6px; background: #fff; box-shadow: 0 5px 18px rgb(27 35 70 / 6%); }
.suite-history-list .suite-history-card:last-child { border: 1px solid #d8ddea; border-top: 3px solid #6846e8; }
.suite-history-card > header { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #e7e9f1; background: #f8f9fd; }
.suite-history-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.suite-history-list .suite-history-tags span { padding: 4px 8px; color: #44308e; font-size: 12px; border: 1px solid #d8cffd; border-radius: 4px; background: #f2efff; }
.suite-history-card > header small { color: #777f93; white-space: nowrap; }
.suite-history-main { min-width: 0; padding: 16px 18px 18px; }
.suite-history-list .suite-history-main h3 { margin: 0 0 12px; font-size: 18px; }
.suite-history-main dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 13px; overflow: hidden; border: 1px solid #e4e6ed; background: #e4e6ed; }
.suite-history-main dl > div { min-width: 0; padding: 9px 11px; background: #fff; }
.suite-history-main dt { margin-bottom: 3px; color: #7b8292; font-size: 11px; }
.suite-history-main dd { margin: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.suite-history-main > p { display: -webkit-box; margin: 0 0 12px; overflow: hidden; color: #4f5666; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.suite-history-main details { border-top: 1px solid #e5e7ec; }
.suite-history-main summary { padding: 12px 0 0; color: #5134bd; font-weight: 700; cursor: pointer; }
.suite-history-content { margin-top: 12px; max-height: 520px; overflow: auto; border: 1px solid #e4e6ed; border-radius: 4px; }
.suite-history-card > footer { display: flex; flex-direction: column; gap: 8px; min-width: 106px; padding: 18px 16px; }
.suite-history-list .suite-history-card > footer button { width: 100%; }
.suite-history-list .suite-history-card > footer button.suite-primary { color: #fff; background: #5134bd; border-color: #5134bd; }
.suite-history-list .suite-history-card > footer button.danger { color: #b42318; border-color: #f1c2bd; }
.suite-memory-welcome { align-items: center; background: #17223f; }
.suite-memory-welcome > div:first-child { max-width: 850px; }
.suite-memory-welcome h2 { letter-spacing: 0; }
.suite-welcome-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.suite-memory-welcome .suite-welcome-actions .suite-secondary { color: #fff; background: transparent; border-color: #7784a7; box-shadow: none; }
.suite-memory-welcome .suite-welcome-actions .suite-secondary:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.suite-memory-value { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: 34px; margin-top: 18px; padding: 28px 30px; color: #202a44; border: 1px solid #dce3ee; border-left: 5px solid #6f4ee8; border-radius: 6px; background: #fff; box-shadow: 0 9px 26px rgba(38, 54, 88, .05); }
.suite-memory-value-copy > small { color: #6f4ee8; font-size: 10px; font-weight: 900; }
.suite-memory-value-copy h2 { margin: 6px 0 9px; font-size: 25px; }
.suite-memory-value-copy p { margin: 0; color: #5e687d; line-height: 1.75; }
.suite-memory-value-copy > div { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.suite-memory-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; list-style: none; background: #dfe5ef; }
.suite-memory-flow li { min-width: 0; padding: 17px 14px; background: #f8faff; }
.suite-memory-flow li:nth-child(2) { background: #f4f0ff; }
.suite-memory-flow li:nth-child(3) { background: #edf8f4; }
.suite-memory-flow li:nth-child(4) { background: #fff7e8; }
.suite-memory-flow b, .suite-memory-flow span, .suite-memory-flow small { display: block; }
.suite-memory-flow b { margin-bottom: 24px; color: #7d879c; font-size: 11px; }
.suite-memory-flow span { margin-bottom: 7px; font-size: 15px; font-weight: 850; }
.suite-memory-flow small { color: #687287; line-height: 1.55; }
.suite-recent-work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.suite-recent-work-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid #dce3ee; border-radius: 6px; background: #fff; box-shadow: 0 6px 20px rgba(38, 54, 88, .04); }
.suite-recent-work-card:hover { border-color: #9b8bea; box-shadow: 0 10px 26px rgba(81, 58, 189, .09); }
.suite-recent-work-main { min-width: 0; padding: 17px 18px; text-align: left; border: 0; background: transparent; }
.suite-recent-work-main:focus-visible { outline: 2px solid #6f4ee8; outline-offset: -3px; }
.suite-recent-work-top { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.suite-recent-work-top span, .suite-recent-work-top em { padding: 3px 7px; color: #44308e; border: 1px solid #ddd5ff; border-radius: 4px; background: #f3f0ff; font-size: 11px; font-style: normal; }
.suite-recent-work-top em { color: #236268; border-color: #bde2dc; background: #effaf7; }
.suite-recent-work-top small { margin-left: auto; color: #7b8498; }
.suite-recent-work-main h3 { margin: 12px 0 7px; overflow-wrap: anywhere; font-size: 17px; }
.suite-recent-work-main > p { display: -webkit-box; min-height: 46px; margin: 0 0 13px; overflow: hidden; color: #5f697e; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.suite-recent-work-main dl { display: grid; grid-template-columns: .75fr 1.25fr; gap: 10px; margin: 0; }
.suite-recent-work-main dt { color: #8a92a3; font-size: 10px; }
.suite-recent-work-main dd { margin: 3px 0 0; overflow: hidden; color: #303a52; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.suite-recent-work-card > footer { display: flex; flex-direction: column; justify-content: center; gap: 8px; width: 130px; padding: 14px; border-left: 1px solid #e4e8ef; background: #fafbfe; }
.suite-recent-work-card > footer button { width: 100%; min-height: 38px; padding: 0 10px; }
.suite-recent-work-list > .suite-empty { grid-column: 1 / -1; border: 1px dashed #cbd3e0; background: #fff; }
.suite-history-detail { overflow: hidden; border: 1px solid #d8dfeb; border-radius: 6px; background: #fff; box-shadow: 0 10px 28px rgba(38, 54, 88, .06); }
.suite-history-detail > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; border-bottom: 1px solid #e4e8ef; background: #f7f9fd; }
.suite-history-detail > header > div { display: flex; align-items: center; gap: 10px; }
.suite-history-detail > header span { padding: 4px 8px; color: #4935b6; border: 1px solid #d8d0fa; border-radius: 4px; background: #f1eeff; font-size: 12px; }
.suite-history-detail > header small { color: #778096; }
.suite-history-detail-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 26px 28px 20px; }
.suite-history-detail-title small { color: #6f4ee8; font-weight: 800; }
.suite-history-detail-title h2 { margin: 6px 0 0; overflow-wrap: anywhere; font-size: 27px; }
.suite-history-detail-title > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.suite-history-detail > dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; margin: 0 28px 24px; padding: 1px; background: #e1e6ee; }
.suite-history-detail > dl > div { min-width: 0; padding: 11px 13px; background: #f9fafe; }
.suite-history-detail dt { margin-bottom: 4px; color: #848da0; font-size: 11px; }
.suite-history-detail dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; }
.suite-history-detail-content { margin: 0 28px 30px; overflow: visible; border: 1px solid #dfe4ed; border-radius: 6px; }
.suite-history-detail-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #e3e7ee; background: #f7f9fc; }
.suite-history-detail-label span { font-weight: 850; }
.suite-history-detail-label small { color: #778096; }
.suite-history-detail-content .ai-rich-content { border: 0; }
.suite-history-detail-content .ai-rich-flow, .suite-history-detail-content .ai-rich-grid, .suite-history-detail-content .suite-history-content { max-height: none; overflow: visible; }
.suite-customer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0; }
.suite-customer-toolbar input { width: min(440px, 100%); }
.suite-customer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.suite-customer-grid > article { padding: 18px; background: #fff; border: 1px solid #d7d7d7; }
.suite-customer-grid > article.active { border: 2px solid #111; }
.suite-customer-grid header { display: flex; align-items: center; gap: 12px; }
.suite-customer-grid header > span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: #111; border-radius: 4px; font-weight: 900; }
.suite-customer-grid header div { flex: 1; }
.suite-customer-grid h3, .suite-customer-grid header p { margin: 0; }
.suite-customer-grid header p, .suite-customer-grid > article > p { color: #666; }
.suite-customer-grid dl { padding: 13px; background: #f5f5f5; }
.suite-customer-grid dt { color: #777; font-size: 11px; }
.suite-customer-grid dd { margin: 3px 0 10px; }
.suite-customer-grid footer { display: flex; flex-wrap: wrap; gap: 7px; }
.suite-customer-grid footer button { flex: 1; min-height: 34px; background: #fff; border: 1px solid #ccc; border-radius: 4px; }
.suite-customer-grid footer button:first-child { color: #fff; background: #111; border-color: #111; }
.suite-material-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; border: 1px solid #d5d5d5; background: #d5d5d5; gap: 1px; }
.suite-material-summary > div { min-width: 0; padding: 18px; background: #fff; }
.suite-material-summary span, .suite-material-summary strong { display: block; }
.suite-material-summary span { margin-bottom: 8px; color: #777; font-size: 12px; }
.suite-material-summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suite-customer-toolbar select { min-width: 170px; padding: 9px 11px; border: 1px solid #ccc; border-radius: 4px; }
.suite-material-list { border: 1px solid #d7d7d7; background: #fff; }
.suite-material-list article { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px; border-bottom: 1px solid #e1e1e1; }
.suite-material-list article:last-child { border-bottom: 0; }
.suite-material-list article > div { min-width: 0; flex: 1; }
.suite-material-list span { display: inline-block; padding: 4px 7px; background: #eee; font-size: 11px; }
.suite-material-list h3 { margin: 8px 0 5px; }
.suite-material-list p { margin: 0; overflow: hidden; color: #666; text-overflow: ellipsis; white-space: nowrap; }
.suite-material-list small { display: block; margin-top: 7px; color: #888; }
.suite-material-list footer { display: flex; gap: 7px; }
.suite-material-list button { padding: 8px 11px; background: #fff; border: 1px solid #ccc; border-radius: 4px; }
.suite-plan-status { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0; padding: 10px 12px; color: #666; background: #f5f5f5; border-left: 3px solid #bbb; font-size: 12px; }
.suite-plan-status.ready { color: #111; background: #edf8f2; border-left-color: #16845b; }
.suite-plan-status strong { text-align: right; }
.suite-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.suite-plan-grid article { padding: 24px; background: #fff; border: 1px solid #d4d4d4; }
.suite-plan-grid article.active { border: 2px solid #111; }
.suite-plan-grid span { color: #777; font-size: 12px; }
.suite-plan-grid h3 { margin: 18px 0 6px; }
.suite-plan-grid strong { font-size: 26px; }
.suite-plan-grid p { min-height: 72px; color: #666; line-height: 1.6; }
.suite-plan-grid button { width: 100%; min-height: 40px; background: #fff; border: 1px solid #bbb; border-radius: 4px; }
.suite-plan-grid article.active button { color: #fff; background: #111; border-color: #111; }
.suite-membership-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 30px 0 18px; }
.suite-membership-head small { font-size: 10px; font-weight: 900; }
.suite-membership-head h2 { margin: 4px 0 0; font-size: 27px; }
.suite-membership-head > div:last-child { display: flex; gap: 8px; }
.suite-membership-head button { min-height: 40px; padding: 0 14px; color: #111; background: #fff; border: 1px solid #bbb; border-radius: 4px; }
.suite-membership-head button:first-child { color: #fff; background: #111; border-color: #111; }
.suite-member-status { display: grid; grid-template-columns: 1.2fr 2fr; gap: 1px; background: #ccc; border: 1px solid #ccc; }
.suite-member-status > div, .suite-member-status dl { margin: 0; padding: 24px; background: #fff; }
.suite-member-status h3 { margin: 8px 0; font-size: 24px; }
.suite-member-status p { margin: 0; color: #666; line-height: 1.6; }
.suite-member-status dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.suite-member-status dt { color: #777; font-size: 11px; }
.suite-member-status dd { margin: 7px 0 0; font-weight: 850; }
.suite-membership-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 12px; border: 1px solid #cfcfcf; background: #cfcfcf; }
.suite-membership-benefits article { display: grid; gap: 7px; padding: 18px 20px; background: #fff; }
.suite-membership-benefits strong { font-size: 15px; }
.suite-membership-benefits span { color: #555; line-height: 1.55; }
.suite-membership-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 32px 0 14px; }
.suite-membership-title.compact { margin-top: 38px; }
.suite-membership-title h3 { margin: 0; font-size: 22px; }
.suite-membership-title p { margin: 5px 0 0; color: #777; }
.suite-segmented { display: flex; padding: 3px; background: #eee; border: 1px solid #ccc; border-radius: 5px; }
.suite-segmented button { min-height: 34px; padding: 0 17px; background: transparent; border: 0; border-radius: 3px; }
.suite-segmented button.active { color: #fff; background: #111; }
.suite-plan-grid.membership-plans { grid-template-columns: repeat(2, minmax(0, 340px)); align-items: stretch; }
.membership-plans article { display: flex; min-height: 470px; flex-direction: column; padding: 0; }
.membership-plans article.featured { border: 2px solid #111; }
.membership-plans header { padding: 22px; border-bottom: 1px solid #ddd; }
.membership-plans header span { display: inline-block; padding: 5px 8px; color: #fff; background: #111; }
.membership-plans header h3 { margin: 14px 0 5px; font-size: 20px; }
.membership-plans header p { min-height: 0; margin: 0; }
.suite-price { padding: 24px 22px 12px; }
.suite-price del { display: block; color: #999; }
.suite-price strong { display: inline-block; margin-top: 5px; font-size: 43px; }
.suite-price i, .suite-credit-grid i { font-style: normal; font-size: 16px; }
.suite-price small { margin-left: 6px; color: #777; }
.membership-plans ul { flex: 1; margin: 0; padding: 8px 22px 22px; list-style: none; }
.membership-plans li { margin: 10px 0; color: #555; }
.membership-plans li::before { margin-right: 8px; content: "✓"; font-weight: 900; }
.membership-plans > article > button, .suite-credit-grid button { min-height: 44px; margin: 0 22px 22px; color: #fff; background: #111; border: 1px solid #111; border-radius: 4px; font-weight: 800; }
.membership-plans > article > button { width: calc(100% - 44px); max-width: calc(100% - 44px); align-self: center; }
.suite-credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.suite-credit-grid article { display: flex; min-height: 260px; flex-direction: column; padding: 22px; background: #fff; border: 1px solid #d4d4d4; }
.suite-credit-grid article > span { color: #777; font-size: 11px; }
.suite-credit-grid h3 { margin: 15px 0 5px; font-size: 20px; }
.suite-credit-grid p { margin: 0; color: #777; }
.suite-credit-grid strong { flex: 1; padding-top: 28px; font-size: 34px; }
.suite-credit-grid button { width: 100%; margin: 0; }
.suite-membership-notice { display: flex; gap: 8px; margin-top: 18px; padding: 15px; color: #555; background: #eee; border-left: 3px solid #111; }
.suite-membership-notice strong, .suite-membership-notice span { display: block; }
.suite-wechat-dialog { width: min(430px, calc(100vw - 28px)); }
.suite-wechat-card { padding: 22px; text-align: center; }
.suite-wechat-card > header { text-align: left; }
.suite-wechat-card > header h3 { margin: 4px 0 0; font-size: 20px; }
.suite-wechat-order { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 18px 0 14px; padding: 13px; background: #f2f2f2; text-align: left; }
.suite-wechat-order span { grid-column: 1 / -1; color: #777; font-size: 11px; }
.suite-wechat-order b { font-size: 20px; }
.suite-wechat-card img { display: block; width: min(300px, 100%); margin: 0 auto; border: 1px solid #ddd; }
.suite-wechat-card > p { color: #666; line-height: 1.65; }
.suite-wechat-card > .suite-primary { width: 100%; }
.suite-device-panel { max-width: 780px; padding: 24px; background: #fff; border: 1px solid #d2d2d2; }
.suite-device-panel header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #ddd; }
.suite-device-panel h3 { margin: 6px 0; }
.suite-device-panel p { margin: 0; color: #666; }
.suite-device-panel header b { padding: 6px 9px; color: #fff; background: #111; font-size: 11px; }
.suite-device-panel dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0; }
.suite-device-panel dt { color: #777; font-size: 11px; }
.suite-device-panel dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.suite-device-panel > button { min-height: 40px; padding: 0 14px; background: #fff; border: 1px solid #aaa; border-radius: 4px; }
.suite-security-note { max-width: 780px; margin-top: 14px; padding: 18px; border-left: 3px solid #111; background: #eee; }
.suite-security-note p { margin: 5px 0 0; color: #666; }
.suite-tool-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.suite-mode-list { padding: 6px; background: #fff; border: 1px solid #d7d7d7; }
.suite-mode-list button { width: 100%; display: flex; gap: 12px; padding: 14px 12px; background: transparent; border: 0; border-bottom: 1px solid #eee; text-align: left; }
.suite-mode-list button.active { color: #fff; background: #111; }
.suite-mode-list b { width: 26px; color: #999; }
.suite-mode-list span { flex: 1; }
.suite-mode-list strong, .suite-mode-list small { display: block; }
.suite-mode-list small { margin-top: 5px; color: #888; line-height: 1.45; }
.suite-mode-list button.active small { color: #bbb; }
.suite-generator { padding: 24px; background: #fff; border: 1px solid #d7d7d7; }
.suite-generator.compact { max-width: 940px; }
.suite-generator > header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #ddd; }
.suite-generator h3 { margin: 3px 0; font-size: 23px; }
.suite-generator header p { margin: 4px 0 0; color: #666; }
.suite-generator select { min-width: 132px; }
.suite-generator label { display: block; margin-top: 18px; font-weight: 750; }
.suite-generator input, .suite-generator textarea, .suite-generator select, .suite-customer-toolbar input, .suite-dialog input, .suite-dialog textarea, .suite-dialog select { width: 100%; box-sizing: border-box; margin-top: 7px; padding: 12px; color: #111; background: #fff; border: 1px solid #cfcfcf; border-radius: 4px; font: inherit; }
.suite-section-heading > button.suite-primary { min-height: 42px; padding: 0 18px; color: #fff; background: #050505; border-color: #050505; }
.suite-customer-toolbar input { width: auto; min-width: 0; flex: 1; margin-top: 0; }
.suite-customer-toolbar > span { flex: 0 0 auto; white-space: nowrap; }
.suite-generator textarea { min-height: 130px; resize: vertical; }
.suite-generator textarea.tall { min-height: 220px; }
.suite-generator header select { width: auto; height: 42px; margin: 0; }
.suite-ai-status { align-self: flex-start; padding: 8px 10px; color: #fff; background: #111; border-radius: 4px; font-size: 12px; white-space: nowrap; }
.suite-script-fields { margin-top: 2px; }
.suite-script-fields label { min-width: 0; }
.suite-script-fields textarea { min-height: 108px; }
.suite-media-transcript { margin-top: 18px; padding: 18px; border: 1px solid #d9d1ff; border-top: 4px solid #6c4fe8; border-radius: 6px; background: #fbfaff; box-shadow: 0 10px 28px rgba(65, 48, 156, .07); }
.suite-media-transcript.ready { border-color: #9fd8bd; border-top-color: #148a5b; background: #f7fffb; }
.suite-media-transcript > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.suite-media-transcript > header small { color: #5b3fd1; font-size: 11px; font-weight: 900; }
.suite-media-transcript > header h4 { margin: 5px 0 4px; font-size: 18px; }
.suite-media-transcript > header p { max-width: 680px; margin: 0; color: #62677a; line-height: 1.65; }
.suite-media-transcript > header > span { flex: 0 0 auto; padding: 7px 10px; color: #5b3fd1; border: 1px solid #d9d1ff; border-radius: 4px; background: #f0edff; font-size: 12px; font-weight: 800; }
.suite-media-transcript.ready > header > span { color: #08734a; border-color: #a9ddc4; background: #e9fff4; }
.suite-media-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.suite-media-actions button, .suite-media-upload { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 14px; color: #fff; border: 1px solid #5b3fd1; border-radius: 5px; background: #5b3fd1; font-size: 13px; font-weight: 800; cursor: pointer; }
.suite-media-actions button:hover, .suite-media-upload:hover { background: #452bbd; }
.suite-media-actions button:disabled { cursor: wait; opacity: .65; }
.suite-media-upload { color: #3c2c9a; background: #fff; }
.suite-media-upload:hover { color: #fff; }
.suite-media-status { margin: 10px 0 0; color: #555d70; font-size: 13px; line-height: 1.6; }
.suite-media-transcript-field { margin-top: 12px !important; }
.suite-media-transcript-field textarea { min-height: 170px !important; background: #fff !important; }
.suite-media-notice { display: flex; gap: 9px; margin-top: 10px; padding: 10px 12px; color: #5b6070; border-left: 3px solid #e49b20; background: #fff9ed; font-size: 12px; line-height: 1.6; }
.suite-media-notice b { flex: 0 0 auto; color: #9a5b00; }
.suite-required { color: #b42318; }
.suite-generator input.invalid, .suite-generator textarea.invalid, .suite-generator select.invalid { border-color: #b42318; box-shadow: 0 0 0 2px rgba(180,35,24,.1); }
.suite-draft-status { margin: 8px 0 0; color: #777; text-align: right; font-size: 12px; }
.suite-profile-summary { margin-top: 18px; padding: 14px; background: #f2f2f2; border-left: 3px solid #111; }
.suite-profile-summary p { margin: 5px 0 0; color: #555; }
.suite-prompt-row, .suite-filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0 0; }
.suite-prompt-row button, .suite-filter-row button { padding: 7px 10px; background: #fff; border: 1px solid #ccc; border-radius: 4px; }
.suite-filter-row button.active { color: #fff; background: #111; }
.suite-filter-row input { min-width: 240px; flex: 1; padding: 8px 11px; border: 1px solid #ccc; border-radius: 4px; }
.suite-generate-button { width: 100%; margin-top: 18px; }
.suite-creation-context { margin: 18px 0; padding: 18px; border: 1px solid #d4d4d4; border-radius: 6px; background: #f7f8fa; }
.suite-creation-context > header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #ddd; }
.suite-creation-context > header small { color: #777; font-weight: 800; }
.suite-creation-context > header h3 { margin: 4px 0 0; font-size: 20px; }
.suite-creation-context > header p { margin: 5px 0 0; color: #666; line-height: 1.55; }
.suite-context-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.suite-context-mode-grid > button { display: flex; align-items: flex-start; gap: 12px; min-height: 78px; padding: 14px; border: 1px solid #ccd2dc; border-radius: 6px; background: #fff; text-align: left; }
.suite-context-mode-grid > button.active { border-color: #111; box-shadow: inset 0 0 0 2px #111; }
.suite-context-mode-grid > button:disabled { opacity: .48; cursor: not-allowed; }
.suite-context-mode-grid > button > b { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 5px; color: #fff; background: #111; }
.suite-context-mode-grid strong, .suite-context-mode-grid small { display: block; }
.suite-context-mode-grid small { margin-top: 5px; color: #666; line-height: 1.4; }
.suite-context-customer { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: 12px; align-items: end; margin-top: 14px; }
.suite-context-customer label { margin: 0; }
.suite-context-customer select { width: 100%; margin-top: 7px; }
.suite-context-customer .suite-profile-summary { margin: 0; }
.suite-free-context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.suite-free-context-grid > label { display: block; margin: 0; padding: 16px; border: 1px solid #d8dce3; border-radius: 6px; background: #fff; }
.suite-free-context-grid > label.wide { grid-column: 1 / -1; }
.suite-free-context-grid label > span { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 850; }
.suite-free-context-grid label > span b { color: #111; font-size: 18px; }
.suite-free-context-grid label > span em, .suite-free-context-grid label > span i { margin-left: 4px; padding: 2px 7px; border-radius: 12px; font-size: 10px; font-style: normal; }
.suite-free-context-grid label > span em { color: #fff; background: #c62828; }
.suite-free-context-grid label > span i { color: #555; background: #ececec; }
.suite-free-context-grid label > small { display: block; min-height: 34px; margin: 6px 0 2px; color: #777; line-height: 1.45; }
.suite-free-context-grid input, .suite-free-context-grid textarea { width: 100%; box-sizing: border-box; margin-top: 8px; }
.suite-free-context-grid textarea { min-height: 86px; resize: vertical; }
.suite-agent-guide { margin-top: 14px; padding: 16px; border: 1px solid #d8d0f5; border-left: 4px solid #5f43d7; border-radius: 6px; background: #f7f5ff; }
.suite-agent-guide > header { display: flex; align-items: flex-start; gap: 11px; }
.suite-agent-guide > header > span { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 6px; color: #fff; background: #5f43d7; font-weight: 900; }
.suite-agent-guide > header strong { color: #4c2ab8; font-size: 15px; }
.suite-agent-guide > header p { margin: 5px 0 0; color: #563ab4; line-height: 1.6; }
.suite-guide-sections { display: grid; gap: 12px; margin: 14px 0 0 41px; }
.suite-guide-sections section > b { color: #4c2ab8; }
.suite-guide-sections ol, .suite-guide-sections ul { margin: 7px 0 0; padding-left: 22px; }
.suite-guide-sections li { margin: 5px 0; color: #563ab4; line-height: 1.55; }
.suite-agent-guide.is-script { margin: 16px 0; }
.suite-guide-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 14px; border: 1px solid #d8d0f5; background: #d8d0f5; }
.suite-guide-columns section { min-width: 0; padding: 12px; background: #fff; }
.suite-guide-columns section > b { color: #4c2ab8; }
.suite-guide-columns ul { margin: 8px 0 0; padding-left: 18px; }
.suite-guide-columns li, .suite-guide-columns p { margin: 5px 0; color: #555; line-height: 1.5; }
.suite-topic-layout { align-items: start; }
.suite-topic-studio { display: grid; gap: 18px; min-width: 0; }
.suite-topic-hero { display: flex; justify-content: space-between; gap: 20px; padding: 28px; color: #fff; background: #080808; border: 1px solid #080808; border-radius: 6px; box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.suite-topic-hero span { display: block; margin-bottom: 10px; color: #bdbdbd; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.suite-topic-hero h3 { margin: 0; font-size: 34px; line-height: 1.12; }
.suite-topic-hero p { max-width: 680px; margin: 10px 0 0; color: #e6e6e6; line-height: 1.7; }
.suite-topic-hero em { align-self: flex-start; padding: 8px 12px; color: #111; background: #fff; border-radius: 999px; font-style: normal; font-weight: 800; white-space: nowrap; }
.suite-topic-card { padding: 20px; background: #fff; border: 1px solid #d8d8d8; border-radius: 6px; box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.suite-topic-card.accent-purple { border-color: #b887ff; background: linear-gradient(180deg, #fbf8ff 0%, #fff 72%); }
.suite-topic-card.accent-cyan { border-color: #52c7d8; background: linear-gradient(180deg, #f4fdff 0%, #fff 72%); }
.suite-topic-card.accent-amber { border-color: #e6b94f; background: linear-gradient(180deg, #fffaf0 0%, #fff 72%); }
.suite-topic-card.accent-orange { border-color: #ff8a3d; background: linear-gradient(180deg, #fff7f0 0%, #fff 72%); }
.suite-topic-card-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.suite-topic-card-head b { display: block; font-size: 16px; }
.suite-topic-card-head p { margin: 5px 0 0; color: #666; }
.suite-topic-card-head small { max-width: 360px; padding: 10px 12px; color: #5b2ca0; background: rgba(132, 78, 255, .09); border-radius: 6px; line-height: 1.6; }
.suite-topic-card input, .suite-topic-card textarea, .suite-topic-card select { width: 100%; box-sizing: border-box; margin-top: 7px; padding: 12px; color: #111; background: #fff; border: 1px solid #cfcfcf; border-radius: 4px; font: inherit; }
.suite-topic-card textarea { min-height: 110px; resize: vertical; }
.suite-topic-results > header { margin-bottom: 16px; }
.suite-topic-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.suite-topic-result-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 18px; background: #fff; border: 1px solid #d6d6d6; border-top: 4px solid #111; border-radius: 6px; }
.suite-topic-result-card.saved { border-color: #16845b; border-top-color: #16845b; background: #f8fcfa; }
.suite-topic-rank { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.suite-topic-rank b { font-size: 24px; }
.suite-topic-rank span { padding: 4px 7px; color: #694800; background: #fff2c8; border-radius: 4px; font-size: 11px; }
.suite-topic-result-card h3 { margin: 14px 0; font-size: 18px; line-height: 1.45; }
.suite-topic-result-card dl { margin: 0; }
.suite-topic-result-card dl div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid #eee; }
.suite-topic-result-card dt { color: #777; font-size: 12px; }
.suite-topic-result-card dd { margin: 0; line-height: 1.5; }
.suite-topic-result-card > p { color: #666; line-height: 1.6; }
.suite-topic-result-card footer { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.suite-topic-result-card footer button { flex: 1; min-height: 38px; background: #fff; border: 1px solid #bbb; border-radius: 4px; }
.suite-topic-result-card footer button:last-child { color: #fff; background: #111; border-color: #111; }
.suite-library-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.suite-library-tabs button { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 74px; padding: 14px 16px; color: #555; background: #fff; border: 1px solid #d4d4d4; border-radius: 6px; text-align: left; }
.suite-library-tabs button.active { color: #fff; background: #111; border-color: #111; }
.suite-library-tabs b { color: inherit; font-size: 16px; }
.suite-library-tabs span { margin-top: 5px; color: inherit; opacity: .72; }
.suite-library-tabs em { position: absolute; top: 12px; right: 12px; min-width: 24px; padding: 3px 6px; color: #111; background: #fff; border-radius: 12px; font-style: normal; text-align: center; }
.suite-topic-library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding: 14px 16px; background: #f3f3f3; border-left: 4px solid #111; }
.suite-topic-library-toolbar strong, .suite-topic-library-toolbar span { display: block; }
.suite-topic-library-toolbar span { margin-top: 4px; color: #666; font-size: 12px; }
.suite-topic-library-toolbar select { min-width: 150px; padding: 10px; background: #fff; border: 1px solid #ccc; border-radius: 4px; }
.suite-topic-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.suite-topic-library > article { display: flex; flex-direction: column; min-width: 0; padding: 18px; background: #fff; border: 1px solid #d4d4d4; border-radius: 6px; }
.suite-topic-library article > header { display: flex; justify-content: space-between; gap: 10px; }
.suite-topic-library article > header span { padding: 4px 7px; background: #fff2c8; border-radius: 4px; font-size: 11px; }
.suite-topic-library article > header em { color: #16845b; font-style: normal; font-size: 12px; }
.suite-topic-library h3 { margin: 14px 0 8px; line-height: 1.45; }
.suite-topic-library > article > p { color: #666; line-height: 1.6; }
.suite-topic-library dl { margin: 0; padding: 12px; background: #f6f6f6; }
.suite-topic-library dl div + div { margin-top: 9px; }
.suite-topic-library dt { color: #777; font-size: 11px; }
.suite-topic-library dd { margin: 3px 0 0; }
.suite-topic-library footer { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 14px; }
.suite-topic-library footer button { min-height: 36px; padding: 0 12px; background: #fff; border: 1px solid #bbb; border-radius: 4px; }
.suite-topic-library footer .suite-primary { color: #fff; background: #111; border-color: #111; }
.suite-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.suite-choice-card { display: flex; align-items: flex-start; gap: 12px; min-height: 76px; padding: 14px; text-align: left; background: #fff; border: 1px solid #d5dbe5; border-radius: 6px; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.suite-choice-card:hover { transform: translateY(-1px); border-color: #111; box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.suite-choice-card.active { border-color: #111; box-shadow: inset 0 0 0 2px #111, 0 10px 24px rgba(0,0,0,.08); }
.suite-choice-card b { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; color: #fff; background: #111; border-radius: 6px; font-size: 14px; }
.suite-choice-card strong, .suite-choice-card small { display: block; }
.suite-choice-card small { margin-top: 5px; color: #666; line-height: 1.45; }
.topic-profile { margin-top: 0; }
.topic-generate { min-height: 54px; font-size: 17px; }
.suite-result { margin-top: 18px; border: 1px solid #d7d7d7; }
.suite-result > header { display: flex; justify-content: space-between; gap: 20px; padding: 13px 16px; background: #f3f3f3; border-bottom: 1px solid #ddd; }
.suite-result h3 { margin: 3px 0 0; font-size: 15px; }
.suite-result header button { margin-left: 6px; padding: 6px 10px; background: #fff; border: 1px solid #bbb; border-radius: 3px; }
.suite-result pre { margin: 0; padding: 20px; white-space: pre-wrap; font: 14px/1.8 system-ui, sans-serif; }
.ai-rich-content { padding: 20px; background: #f7f7f7; }
.ai-rich-intro { margin-bottom: 14px; padding: 16px 18px; border-left: 3px solid #111; background: #fff; }
.ai-rich-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ai-rich-flow { padding: 2px 18px; border: 1px solid #d7d7d7; border-top: 4px solid #111; border-radius: 5px; background: #fff; }
.ai-rich-flow-section { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 14px; padding: 18px 0; border-top: 1px solid #e2e2e2; }
.ai-rich-flow-section:first-child { border-top: 0; }
.ai-rich-flow-section > header { grid-column: 1 / -1; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: 8px; }
.ai-rich-flow-section > header b { font-size: 24px; line-height: 1.1; }
.ai-rich-flow-section > header h4 { margin: 0; font-size: 16px; line-height: 1.5; }
.ai-rich-flow-section > .ai-rich-body { grid-column: 2; min-width: 0; }
.ai-rich-section { min-width: 0; padding: 17px 18px 18px; border: 1px solid #d7d7d7; border-top: 4px solid #111; border-radius: 5px; background: #fff; }
.ai-rich-section > header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 11px; padding-bottom: 10px; border-bottom: 1px solid #e4e4e4; }
.ai-rich-section > header b { flex: 0 0 auto; font-size: 25px; line-height: 1; }
.ai-rich-section h4 { margin: 0; font-size: 16px; line-height: 1.45; }
.ai-rich-body > p, .ai-rich-intro p, .chat-rich-content > p { margin: 9px 0; line-height: 1.8; }
.ai-rich-body ol, .ai-rich-body ul, .chat-rich-content ol, .chat-rich-content ul { margin: 10px 0; padding-left: 22px; }
.ai-rich-body li, .chat-rich-content li { margin: 7px 0; padding-left: 2px; line-height: 1.7; }
.ai-rich-body blockquote { margin: 12px 0; padding: 10px 13px; border-left: 3px solid #111; background: #f3f3f3; line-height: 1.7; }
.ai-field-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid #ededed; }
.ai-field-row:first-child { border-top: 0; }
.ai-field-row > span { color: #777; font-size: 12px; line-height: 1.7; }
.ai-field-row > p { margin: 0; line-height: 1.7; }
.ai-table-row { display: flex; border: 1px solid #dedede; border-bottom: 0; background: #fff; }
.ai-table-row:last-of-type { border-bottom: 1px solid #dedede; }
.ai-table-row > span { min-width: 0; flex: 1; padding: 8px 10px; border-left: 1px solid #e5e5e5; line-height: 1.55; overflow-wrap: anywhere; }
.ai-table-row > span:first-child { border-left: 0; font-weight: 800; }
.ai-rich-content code, .chat-rich-content code { padding: 1px 5px; border: 1px solid #ddd; border-radius: 3px; background: #f4f4f4; font-family: inherit; }
.chat-message.is-assistant { width: min(94%, 820px); }
.chat-rich-content { margin-top: 8px; }
.chat-rich-content h4 { margin: 16px 0 8px; padding: 9px 0 7px; border-top: 2px solid #111; border-bottom: 1px solid #ddd; font-size: 15px; }
.chat-rich-content h4:first-child { margin-top: 8px; }
.suite-result-empty, .suite-empty, .suite-loading, .suite-error { padding: 34px; text-align: center; }
.suite-result-empty p, .suite-empty p, .suite-loading p { color: #777; }

.suite-poster7-heading .suite-context-chip { color: #4f36c8; background: #f0edff; border-color: #cfc5ff; }
.suite-poster7-tool-layout { align-items: start; }
.suite-poster7-layout { display: grid; min-width: 0; gap: 16px; }
.suite-poster7-panel { padding: 20px; background: #fff; border: 1px solid #dce3ee; border-left: 4px solid #7558e8; border-radius: 6px; }
.suite-poster7-panel > header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.suite-poster7-panel > header > b { display: grid; place-items: center; flex: 0 0 34px; height: 34px; color: #fff; background: #172036; border-radius: 4px; }
.suite-poster7-panel > header h3 { margin: 0 0 4px; font-size: 18px; }
.suite-poster7-panel > header p { margin: 0; color: #667085; }
.suite-poster7-panel > header em { margin-left: auto; padding: 5px 9px; color: #4f36c8; font-style: normal; font-weight: 800; background: #f0edff; border-radius: 4px; }
.suite-poster7-source-tabs, .suite-poster7-line-count { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.suite-poster7-source-tabs button, .suite-poster7-line-count button { min-height: 44px; padding: 10px 14px; background: #f7f8fb; border: 1px solid #d8deea; border-radius: 5px; }
.suite-poster7-source-tabs button.active, .suite-poster7-line-count button.active { color: #4f36c8; background: #f3f0ff; border-color: #7558e8; box-shadow: inset 0 0 0 1px #7558e8; }
.suite-poster7-select { display: grid; gap: 7px; margin-bottom: 14px; font-weight: 800; }
.suite-poster7-select select, .suite-poster7-form input, .suite-poster7-topic textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; background: #fff; border: 1px solid #cfd7e6; border-radius: 5px; font: inherit; }
.suite-poster7-profile-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: #dce3ee; border: 1px solid #dce3ee; border-radius: 5px; }
.suite-poster7-profile-summary > div { min-height: 66px; padding: 11px 12px; background: #f9fafc; }
.suite-poster7-profile-summary span, .suite-poster7-profile-summary strong { display: block; }
.suite-poster7-profile-summary span { margin-bottom: 5px; color: #667085; font-size: 12px; }
.suite-poster7-profile-summary strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.45; }
.suite-poster7-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.suite-poster7-form label { display: grid; gap: 6px; font-weight: 800; }
.suite-poster7-form label.wide { grid-column: 1 / -1; }
.suite-poster7-save-customer { display: inline-flex !important; width: auto !important; max-width: 100%; align-items: center; justify-content: flex-start; gap: 8px; margin-top: 15px; color: #495267; font-weight: 700; }
.suite-poster7-save-customer input { width: 16px !important; min-width: 16px; height: 16px; flex: 0 0 16px; margin: 0; padding: 0; }
.suite-poster7-save-customer span { min-width: 0; line-height: 1.5; }
.suite-poster7-existing-form { padding: 14px; background: #f8f9fc; border: 1px solid #dce3ee; border-radius: 5px; }
.suite-poster7-profile-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.suite-poster7-profile-actions span { color: #667085; font-size: 12px; line-height: 1.5; }
.suite-poster7-profile-actions button { flex: 0 0 auto; padding: 9px 14px; color: #fff; background: #172036; border: 0; border-radius: 4px; font-weight: 800; }
.suite-poster7-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.suite-poster7-mode-grid button { min-height: 92px; padding: 14px; text-align: left; background: #f8f9fc; border: 1px solid #d8deea; border-radius: 5px; }
.suite-poster7-mode-grid button strong, .suite-poster7-mode-grid button small { display: block; }
.suite-poster7-mode-grid button small { margin-top: 7px; color: #667085; line-height: 1.5; }
.suite-poster7-mode-grid button.active { color: #4f36c8; background: #f3f0ff; border-color: #7558e8; box-shadow: inset 0 0 0 1px #7558e8; }
.suite-poster7-topic { display: grid; gap: 7px; margin-top: 16px; font-weight: 800; }
.suite-poster7-topic textarea { min-height: 92px; resize: vertical; }
.suite-poster7-line-count { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.suite-poster7-line-count strong, .suite-poster7-line-count small { display: block; }
.suite-poster7-line-count small { margin-top: 4px; color: #667085; }
.suite-poster7-output-setting .suite-generate-button { width: 100%; min-height: 48px; }
.suite-poster7-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px; }
.suite-poster7-result-card { overflow: hidden; background: #fff; border: 1px solid #dce3ee; border-radius: 6px; }
.suite-poster7-result-card > header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f4f6fb; border-bottom: 1px solid #dce3ee; }
.suite-poster7-result-card > header b { color: #4f36c8; }
.suite-poster7-result-card > header span { color: #667085; font-size: 12px; }
.suite-poster7-result-card > div { display: grid; gap: 7px; padding: 12px; }
.suite-poster7-result-card label { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; }
.suite-poster7-result-card label em { display: grid; place-items: center; height: 28px; color: #fff; font-style: normal; font-weight: 900; background: #172036; border-radius: 3px; }
.suite-poster7-result-card input { min-width: 0; padding: 9px 10px; border: 1px solid #d5dce8; border-radius: 4px; font: 700 14px/1.4 system-ui, sans-serif; }
.suite-poster7-result-card > footer { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #fafbfc; border-top: 1px solid #edf0f5; }
.suite-poster7-result-card > footer button { padding: 7px 10px; background: #fff; border: 1px solid #bfc8d8; border-radius: 4px; }
.suite-poster7-result-card > footer span { color: #7a8498; font-size: 12px; }
.suite-empty.wide { grid-column: 1 / -1; background: #fff; border: 1px dashed #bbb; }
.suite-loading span { display: block; width: 28px; height: 28px; margin: 0 auto 13px; border: 3px solid #ddd; border-top-color: #111; border-radius: 50%; animation: suite-spin .8s linear infinite; }
.suite-error { color: #7b1717; background: #fff6f6; }
.suite-error p { overflow-wrap: anywhere; }
.suite-context-chip { padding: 8px 12px; background: #111; color: #fff; border-radius: 4px; }
.suite-gate { max-width: 680px; margin: 70px auto; padding: 44px; text-align: center; background: #fff; border: 1px solid #ccc; }
.suite-gate span { font-size: 11px; font-weight: 900; }
.suite-gate h3 { margin: 12px 0; font-size: 25px; }
.suite-gate p { color: #666; line-height: 1.7; }
.suite-hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.suite-hot-grid article { background: #fff; border: 1px solid #d5d5d5; }
.suite-hot-cover { min-height: 124px; position: relative; padding: 14px; color: #fff; background: #161616; }
.suite-hot-cover span, .suite-hot-cover b { position: relative; z-index: 1; display: inline-block; padding: 5px 8px; background: #fff; color: #111; font-size: 11px; }
.suite-hot-cover b { float: right; color: #fff; background: #333; }
.suite-hot-cover strong { position: absolute; right: 15px; bottom: 0; color: #303030; font-size: 72px; }
.suite-hot-grid article > div:nth-child(2) { padding: 16px; }
.suite-hot-grid h3 { min-height: 48px; margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.suite-hot-grid p span { display: inline-block; margin-right: 5px; padding: 4px 7px; background: #eee; font-size: 11px; }
.suite-hot-grid small { color: #777; line-height: 1.55; }
.suite-hot-grid footer { display: flex; border-top: 1px solid #ddd; }
.suite-hot-grid footer button { flex: 1; min-height: 42px; background: #fff; border: 0; }
.suite-hot-grid footer button.dark { color: #fff; background: #111; }
.suite-hot-grid footer a { display: grid; flex: 1; min-height: 42px; place-items: center; color: #111; text-decoration: none; }
.suite-hot-grid footer a.dark { color: #fff; background: #111; }
.suite-hot-cover.live { background-position: center; background-size: cover; }
.suite-hot-cover.live::after { position: absolute; inset: 0; background: rgba(0,0,0,.58); content: ""; }
.suite-collector { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(260px, 2fr) auto auto; align-items: center; gap: 10px; padding: 16px; background: #fff; border: 1px solid #d5d5d5; }
.suite-collector p { margin: 4px 0 0; color: #777; font-size: 12px; }
.suite-collector input { min-width: 0; padding: 11px; border: 1px solid #bbb; border-radius: 4px; }
.suite-collector button { min-height: 40px; padding: 0 14px; background: #fff; border: 1px solid #aaa; border-radius: 4px; }
.suite-collector button:first-of-type { color: #fff; background: #111; border-color: #111; }
.suite-hot-status { padding: 9px 2px; color: #666; font-size: 12px; }
.suite-geo-flow, .suite-digital-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-bottom: 18px; background: #ccc; border: 1px solid #ccc; }
.suite-geo-flow div, .suite-digital-steps article { padding: 18px; background: #fff; }
.suite-geo-flow b, .suite-digital-steps b { display: block; margin-bottom: 12px; color: #999; }
.suite-digital-steps { grid-template-columns: repeat(3, 1fr); }
.suite-digital-steps.suite-digital-steps-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.suite-digital-steps article.active { color: #fff; background: #111; }
.suite-digital-steps h3 { margin: 0 0 5px; }
.suite-digital-steps p { margin: 0; color: #777; }
.suite-service-notice { margin: 0 0 16px; padding: 14px 16px; border: 1px solid #111; background: #f4f4f4; }
.suite-service-notice strong, .suite-service-notice p { display: block; margin: 0; }
.suite-service-notice p { margin-top: 4px; color: #555; }
.suite-digital-workspace { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.suite-digital-workspace audio { width: 100%; margin-top: 12px; }
.suite-digital-video-panel { grid-column: span 1; }
.suite-digital-voice-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; padding: 12px; border: 1px solid #ddd; border-radius: 6px; background: #f7f8fb; }
.suite-digital-voice-controls label { min-width: 0; margin: 0; }
.suite-digital-voice-controls label > span { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.suite-digital-voice-controls output { color: #5138c5; font-size: 12px; font-weight: 800; }
.suite-digital-voice-controls input[type="range"] { width: 100%; min-height: 26px; margin: 0; padding: 0; accent-color: #6f4ee8; }
.suite-mini-list { display: grid; gap: 7px; margin-top: 10px; padding: 10px; border: 1px solid #ddd; background: #fafafa; color: #555; font-size: 12px; }
.suite-mini-list label { display: flex; flex-direction: row !important; align-items: center; gap: 7px; margin: 0; }
.suite-mini-list input { width: auto !important; }
.suite-consent { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid #d5d5d5; background: #f7f7f7; }
.suite-consent input { width: 16px !important; height: 16px; margin-top: 2px; flex: 0 0 auto; }
.suite-accent-preserve { padding: 11px 12px; border: 1px solid #cfc8f5; border-radius: 6px; background: #f7f5ff; color: #211a4d; }
.suite-accent-preserve span { display: grid; gap: 3px; }
.suite-accent-preserve strong { font-size: 13px; color: #2d2169; }
.suite-accent-preserve small { color: #615b7b; font-size: 12px; line-height: 1.55; }
.suite-digital-voice-controls :disabled { cursor: not-allowed; opacity: .48; }
.suite-voice-rhythm-note { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; margin: -4px 0 12px; padding: 10px 12px; border-left: 3px solid #6f4ee8; background: #f7f5ff; color: #4d4665; font-size: 12px; line-height: 1.6; }
.suite-voice-rhythm-note strong { color: #2d2169; white-space: nowrap; }
.suite-inline-status { min-height: 38px; box-sizing: border-box; margin-top: 10px; padding: 9px 11px; border-left: 3px solid #111; background: #f3f3f3; color: #444; }
.suite-digital-records { margin-top: 18px; padding: 16px; border: 1px solid #d5d5d5; background: #fff; }
.suite-digital-records > header, .suite-digital-task { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.suite-digital-records > header { margin-bottom: 14px; }
.suite-digital-records > header p { margin: 4px 0 0; color: #666; }
.suite-digital-records h3, .suite-digital-records h4 { margin: 2px 0; }
.suite-digital-memory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.suite-digital-memory-grid.is-two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.suite-digital-memory-grid > article { min-width: 0; padding: 14px; border: 1px solid #ddd; background: #fafafa; }
.suite-digital-memory-item { display: grid; gap: 9px; padding: 11px 0; border-top: 1px solid #ddd; }
.suite-digital-memory-item:first-of-type { border-top: 0; }
.suite-digital-memory-item strong, .suite-digital-memory-item span, .suite-digital-memory-item small { display: block; overflow-wrap: anywhere; }
.suite-digital-memory-item span, .suite-digital-memory-item small { color: #666; font-size: 12px; }
.suite-digital-memory-item audio { width: 100%; }
.suite-digital-memory-item video { width: 100%; max-height: 180px; border: 1px solid var(--border); background: #000; }
.suite-digital-memory-item em { display: block; margin-top: 4px; color: #666; font-style: normal; font-size: 12px; overflow-wrap: anywhere; }
.suite-admin-digital-records { border-color: #111; }
.suite-empty.compact { padding: 14px; text-align: left; border: 1px dashed #ccc; background: #fff; }
.suite-digital-task { justify-content: flex-start; padding: 12px 0; border-top: 1px solid #ddd; }
.suite-digital-task > div:nth-child(2) { min-width: 0; flex: 1; }
.suite-digital-task p { margin: 4px 0; color: #555; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.suite-digital-preview { width: 120px; aspect-ratio: 9 / 16; display: grid; place-items: center; flex: 0 0 auto; background: #111; color: #fff; }
.suite-digital-preview video { width: 100%; height: 100%; object-fit: cover; }
.suite-digital-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.suite-digital-actions .suite-primary, .suite-digital-actions .suite-secondary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.suite-retention-notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 16px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #d8a63c; border-left: 4px solid #b77900; background: #fffaf0; }
.suite-retention-notice strong { grid-row: 1 / 3; align-self: center; }
.suite-retention-notice p { margin: 0; color: #6d531a; line-height: 1.6; }
.suite-retention-countdown { display: block; margin-top: 6px; color: #9b2c20; font-size: 12px; }
.suite-legal-dialog { width: min(560px, calc(100vw - 28px)); padding: 0; border: 1px solid #111; border-radius: 6px; }
.suite-legal-dialog::backdrop { background: rgba(0, 0, 0, .62); }
.suite-legal-dialog > div { padding: 22px; }
.suite-legal-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #ddd; }
.suite-legal-dialog header small { color: #a32020; font-weight: 900; }
.suite-legal-dialog h3 { margin: 4px 0 0; font-size: 21px; }
.suite-legal-dialog header > button { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #ccc; border-radius: 4px; background: #fff; font-size: 22px; }
.suite-legal-dialog > div > p { color: #555; line-height: 1.7; }
.suite-legal-dialog ul { margin: 14px 0 20px; padding: 14px 18px 14px 36px; border-left: 3px solid #c62828; background: #f7f7f7; }
.suite-legal-dialog li { margin: 8px 0; line-height: 1.65; }
.suite-legal-dialog footer { display: flex; justify-content: flex-end; gap: 10px; }
.suite-legal-dialog footer button { min-height: 42px; padding: 0 17px; }
.suite-danger { border-color: #b8b8b8 !important; color: #7a1d1d !important; background: #fff !important; }
.suite-danger:hover { border-color: #7a1d1d !important; color: #fff !important; background: #7a1d1d !important; }
.suite-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.suite-form-grid .wide { grid-column: 1 / -1; }
.suite-dialog { width: min(980px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 1px solid #111; border-radius: 5px; }
.suite-dialog { overflow: auto; }
.suite-dialog [hidden] { display: none !important; }
.suite-dialog::backdrop { background: rgba(0,0,0,.58); }
.suite-dialog form { padding: 22px; }
.suite-strategy-dialog > div { padding: 22px; }
.suite-dialog > form > header, .suite-dialog > form > footer, .suite-strategy-dialog > div > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.suite-dialog > form > header, .suite-strategy-dialog > div > header { padding-bottom: 16px; border-bottom: 1px solid #ddd; }
.suite-dialog > form > header h2, .suite-strategy-dialog > div > header h2 { margin: 4px 0 0; }
.suite-dialog > form > header > button, .suite-strategy-dialog > div > header > button { width: 38px; height: 38px; background: #fff; border: 1px solid #ccc; border-radius: 4px; font-size: 23px; }
.suite-dialog textarea { min-height: 82px; resize: vertical; }
.suite-dialog > form > footer { padding-top: 18px; }
.suite-profile-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 2px; padding: 5px; background: #f1f1f1; border: 1px solid #d7d7d7; }
.suite-profile-tabs button { min-height: 58px; padding: 9px 12px; color: #555; background: transparent; border: 0; border-radius: 4px; text-align: left; }
.suite-profile-tabs button.active { color: #fff; background: #111; }
.suite-profile-tabs strong, .suite-profile-tabs small { display: block; }
.suite-profile-tabs small { margin-top: 4px; color: inherit; opacity: .75; }
.suite-profile-intro { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 14px; margin: 14px 0; padding: 16px; background: #111; color: #fff; }
.suite-profile-intro small, .suite-mini-heading span { color: #aaa; }
.suite-profile-intro strong { display: block; margin-top: 5px; font-size: 18px; line-height: 1.45; }
.suite-profile-intro p { margin: 7px 0 0; color: #cfcfcf; line-height: 1.65; }
.suite-profile-score { display: grid; place-items: center; align-content: center; min-height: 92px; border: 1px solid #3a3a3a; background: #050505; text-align: center; }
.suite-profile-score span { font-size: 28px; font-weight: 950; }
.suite-profile-score small { display: block; margin-top: 4px; color: #c8c8c8; }
.suite-profile-templates { margin: 14px 0; padding: 14px; background: #f6f6f6; border: 1px solid #d7d7d7; }
.suite-mini-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.suite-mini-heading b { font-size: 15px; }
.suite-profile-template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.suite-profile-template { display: flex; align-items: center; gap: 10px; min-height: 78px; padding: 12px; background: #fff; border: 1px solid #d2d2d2; border-radius: 6px; text-align: left; cursor: pointer; }
.suite-profile-template:hover, .suite-profile-template.active { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.suite-profile-template i { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: #111; border-radius: 5px; font-style: normal; font-weight: 900; }
.suite-profile-template strong, .suite-profile-template small { display: block; }
.suite-profile-template small { margin-top: 3px; color: #666; line-height: 1.35; }
.suite-template-brief { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; margin-bottom: 14px; padding: 14px; color: #fff; background: #111; border-radius: 5px; }
.suite-template-brief span { color: #aaa; font-size: 12px; }
.suite-template-brief strong { line-height: 1.55; }
.suite-template-stage { border-left-color: #7a4bd8; }
.suite-plan-save { border-color: #111 !important; font-weight: 800; }
.suite-strategy-overview { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 1px; margin: 18px 0; background: #d5d5d5; border: 1px solid #d5d5d5; }
.suite-strategy-overview > div { padding: 14px; background: #fff; }
.suite-strategy-overview span, .suite-strategy-overview strong { display: block; }
.suite-strategy-overview span { margin-bottom: 5px; color: #777; font-size: 11px; }
.suite-strategy-overview strong { line-height: 1.5; }
.suite-strategy-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.suite-strategy-actions button { min-height: 40px; padding: 0 16px; }
.suite-profile-stage-nav { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 14px 0; background: #d5d5d5; border: 1px solid #d5d5d5; }
.suite-profile-stage-nav button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; background: #fff; border: 0; text-align: left; cursor: pointer; }
.suite-profile-stage-nav button:hover { color: #fff; background: #111; }
.suite-profile-stage-nav b { color: #999; font-size: 11px; }
.suite-profile-stage-nav button:hover b { color: #fff; }
.suite-profile-stage { padding: 16px; background: #fff; border: 1px solid #d8d8d8; }
.suite-profile-stage + .suite-profile-stage { margin-top: 14px; }
.suite-stage-title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #e2e2e2; }
.suite-stage-title > b { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: #111; border-radius: 4px; font-size: 13px; }
.suite-stage-title strong { font-size: 18px; }
.suite-stage-title p { margin: 4px 0 0; color: #666; line-height: 1.5; }
.suite-deep-fields { margin-top: 4px; padding-top: 16px; border-top: 2px solid #111; }
.suite-deep-heading { margin-bottom: 2px; }
.suite-deep-heading p { margin: 5px 0 0; color: #666; font-size: 13px; }
.suite-document-import { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; margin: 12px 0 18px; padding: 15px; background: #f3f3f3; border: 1px dashed #999; }
.suite-document-import p { margin: 4px 0 0; color: #666; font-size: 12px; }
.suite-document-import .suite-import-button { min-width: 108px; margin: 0; padding: 10px 14px; color: #fff; background: #111; border-radius: 4px; text-align: center; cursor: pointer; }
.suite-import-button input { display: none; }
.suite-document-import > span { grid-column: 1 / -1; color: #666; font-size: 12px; }
.suite-paste-import { grid-template-columns: minmax(0, 1fr) 120px; align-items: end; background: #fff; border-style: solid; }
.suite-paste-import textarea { grid-column: 1 / -1; min-height: 120px; resize: vertical; }
.suite-paste-import .suite-import-button { grid-column: 2; border: 0; }
.suite-interview-note { margin: 24px 0 10px; padding: 12px 14px; color: #ddd; background: #111; font-size: 13px; line-height: 1.55; }
.suite-interview-heading { margin: 24px 0 10px; padding: 14px; color: #fff; background: #111; }
.suite-interview-heading p { margin: 5px 0 0; color: #ccc; font-size: 13px; line-height: 1.55; }
.suite-interview-sections { display: grid; gap: 8px; }
.suite-interview-sections details { background: #fff; border: 1px solid #d4d4d4; }
.suite-interview-sections summary { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; cursor: pointer; list-style: none; }
.suite-interview-sections summary::-webkit-details-marker { display: none; }
.suite-interview-sections summary b { color: #888; font-size: 12px; }
.suite-interview-sections summary span { font-weight: 800; }
.suite-interview-sections summary em { margin-left: auto; color: #888; font-style: normal; font-size: 11px; }
.suite-interview-sections details[open] summary { color: #fff; background: #222; }
.suite-question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
.suite-interview-sections details .suite-question-grid label { display: block; margin: 0; padding: 0; font-size: 13px; }
.suite-question-grid label.long { grid-column: 1 / -1; }
.suite-question-grid label > span { display: block; font-weight: 750; }
.suite-question-grid input, .suite-question-grid textarea { margin-top: 6px; }
.suite-interview-sections textarea { min-height: 84px; }
.suite-client-workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 18px 0; background: #d8d8d8; border: 1px solid #d8d8d8; }
.suite-client-workflow article { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px 12px; padding: 14px; background: #fff; }
.suite-client-workflow b { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: #111; border-radius: 4px; font-size: 12px; }
.suite-client-workflow strong { align-self: end; }
.suite-client-workflow span { color: #666; font-size: 12px; line-height: 1.45; }
.suite-pinned-story-entry { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; margin: 0 0 18px; padding: 16px 18px; background: #fff8df; border: 1px solid #d69c20; border-left: 6px solid #d69c20; box-shadow: 0 5px 18px rgba(89, 61, 0, .08); }
.suite-pinned-story-entry.ready { background: #fff3c7; }
.suite-pinned-story-mark { width: 42px; height: 42px; display: grid; place-items: center; color: #111; background: #f0b429; border: 1px solid #b87900; border-radius: 4px; font-size: 17px; font-weight: 900; }
.suite-pinned-story-entry small { color: #8a5c00; font-size: 9px; font-weight: 900; }
.suite-pinned-story-entry h3 { margin: 3px 0 4px; font-size: 17px; }
.suite-pinned-story-entry p { margin: 0; color: #5f4c22; font-size: 12px; line-height: 1.55; }
.suite-pinned-story-entry-actions { display: flex; align-items: center; gap: 14px; }
.suite-pinned-story-entry-actions > span { max-width: 240px; color: #666; font-size: 11px; text-align: right; }
.suite-pinned-story-entry-actions button:disabled { color: #999; background: #eee; border-color: #ddd; cursor: not-allowed; }
.suite-pinned-story-brief { margin: 0 0 16px; padding: 14px 16px; background: #f4f4f4; border-left: 3px solid #111; }
.suite-pinned-story-brief p { margin: 5px 0 0; color: #555; line-height: 1.7; }
.suite-pinned-story-template { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); align-items: end; gap: 12px 18px; margin: 0 0 16px; padding: 14px 16px; background: #fff8df; border: 1px solid #e4c26f; }
.suite-pinned-story-template label > span { display: block; margin-bottom: 7px; font-weight: 800; }
.suite-pinned-story-template select { width: 100%; }
.suite-pinned-story-template p { margin: 0 0 10px; color: #725318; font-size: 12px; line-height: 1.6; }
.suite-pinned-story-notes { display: block; margin-bottom: 14px; font-weight: 750; }
.suite-pinned-story-notes textarea { width: 100%; margin-top: 7px; min-height: 76px; }
.suite-save-story-button { color: #111; background: #f0b429; border-color: #b87900; }
.suite-save-story-button:disabled { color: #5f4c22; background: #fff0b4; border-color: #d8b55b; }
.suite-topic-library article.pinned-story { border-top: 4px solid #d69c20; background: #fffdf6; }
.suite-topic-library article.pinned-story > header span { color: #6b4700; background: #ffe7a3; border-color: #d69c20; }
.suite-topic-saved-content { margin: 12px 0 0; padding: 10px 12px; background: #fff; border: 1px solid #d6d6d6; }
.suite-topic-saved-content summary { cursor: pointer; font-weight: 800; }
.suite-topic-saved-content > div { max-height: 360px; margin-top: 12px; overflow: auto; }
.suite-topic-script-preview { margin-top: 14px; padding: 13px 14px; background: #f4f1ff; border-left: 4px solid var(--violet); }
.suite-topic-script-preview small, .suite-topic-script-preview strong { display: block; }
.suite-topic-script-preview small { color: #6044c9; font-weight: 900; }
.suite-topic-script-preview strong { margin-top: 5px; color: #202a44; }
.suite-topic-script-preview p { margin: 7px 0 0; color: #626b80; line-height: 1.6; }
.suite-topic-library footer .suite-topic-copy-button { color: #fff; background: var(--violet); border-color: var(--violet); font-weight: 850; }
.suite-save-script-button.saved, .suite-save-script-button:disabled { color: #08716d !important; background: #e3faf7 !important; border-color: #77cfc9 !important; opacity: 1; }
.suite-topic-copy-dialog { width: min(900px, calc(100vw - 28px)); }
.suite-topic-copy-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0; padding: 12px 14px; color: #5e687d; background: #f4f7fb; border-left: 4px solid var(--blue); }
.suite-topic-copy-content { max-height: min(62vh, 680px); overflow: auto; border: 1px solid #dce3ee; background: #fff; }
.suite-topic-copy-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 16px; }
.suite-topic-copy-actions button { min-height: 40px; padding: 0 16px; }
.suite-customer-progress { height: 7px; margin: 12px 0 10px; overflow: hidden; background: #eee; border: 1px solid #ddd; border-radius: 99px; }
.suite-customer-progress i { display: block; height: 100%; background: #111; }
.suite-legacy-page .module-shell, .suite-legacy-page .workspace { margin: 0; }
.suite-legacy-page .module-shell { max-width: none; }

/* 2026-07 visual hierarchy refresh: light workspace with focused accent colors */
#creatorSuiteRoot { background: #f4f7fb; color: var(--ink); }
.suite-sidebar { color: #25304a; background: #fff; border-right-color: #dde4ef; box-shadow: 10px 0 34px rgba(36, 50, 82, .05); }
.suite-brand { color: #202a44; border-bottom: 1px solid #e5eaf2; }
.suite-brand span { color: #fff; background: var(--violet); box-shadow: 0 7px 18px rgba(111, 78, 232, .24); }
.suite-brand strong { color: #202a44; }
.suite-customer-switch { border-block-color: #e5eaf2; background: #fafbfe; }
.suite-customer-switch small { color: #7b8498; }
.suite-customer-switch button { color: #303a54; background: #fff; border-color: #d8dfeb; }
.suite-nav p { color: #939bad; font-weight: 800; }
.suite-nav button { color: #536079; }
.suite-nav button:hover { color: #4f3ac8; background: #f5f2ff; }
.suite-nav button.active { color: #4e3ac7; background: #efecff; box-shadow: inset 3px 0 0 var(--violet); }
.suite-nav i { color: #64718a; background: #fff; border-color: #cbd4e2; }
.suite-nav button.active i { color: #fff; background: var(--violet); border-color: var(--violet); }
.suite-sidebar-foot { color: #65708a; background: #fafbfe; border-top-color: #e4e9f1; }
.suite-sidebar-foot small { color: #8992a4; }
.suite-sidebar-foot button { color: #4f5b73; }
.suite-topbar { background: rgba(255, 255, 255, .94); border-bottom-color: #e0e6ef; box-shadow: 0 5px 20px rgba(38, 54, 88, .04); backdrop-filter: blur(14px); }
.suite-topbar p, .suite-section-heading small { color: var(--violet); }
.suite-account em { color: #4f3ac8; background: #efecff; border-color: #ddd6ff; }
.suite-account button:hover { color: #fff; background: var(--violet); border-color: var(--violet); }
.suite-primary { color: #fff; background: var(--violet); border-color: var(--violet); box-shadow: 0 7px 17px rgba(111, 78, 232, .18); }
.suite-primary:hover { background: #5b3fd0; border-color: #5b3fd0; }
.suite-section-heading > button.suite-primary { background: var(--violet); border-color: var(--violet); }
.suite-secondary { color: #4e5870; border-color: #ccd5e3; }
.suite-welcome { background: #192544; box-shadow: 0 18px 40px rgba(25, 37, 68, .16); }
.suite-welcome p { color: #9eabd0; }
.suite-welcome span { color: #e5eaff; }
.suite-metrics { gap: 12px; background: transparent; border: 0; }
.suite-metrics article { border: 1px solid #dce3ee; border-radius: 6px; box-shadow: 0 7px 20px rgba(38, 54, 88, .04); }
.suite-feature-grid { gap: 12px; background: transparent; border: 0; }
.suite-feature-grid article { border: 1px solid #dce3ee; border-radius: 6px; }
.suite-feature-grid article:nth-child(4n + 1) { border-top: 4px solid var(--violet); }
.suite-feature-grid article:nth-child(4n + 2) { border-top: 4px solid var(--blue); }
.suite-feature-grid article:nth-child(4n + 3) { border-top: 4px solid var(--mint); }
.suite-feature-grid article:nth-child(4n + 4) { border-top: 4px solid var(--gold); }
.suite-context-chip { color: #4f3ac8; background: #efecff; border-color: #ddd5ff; }
.suite-mode-list { border-color: #dce3ee; border-radius: 6px; box-shadow: 0 8px 24px rgba(38, 54, 88, .05); }
.suite-mode-list button { color: #4e5870; border-bottom-color: #edf0f5; border-radius: 5px; }
.suite-mode-list button:hover { color: #4f3ac8; background: #f6f4ff; }
.suite-mode-list button.active { color: #4b37c2; background: #efecff; box-shadow: inset 3px 0 0 var(--violet); }
.suite-mode-list button.active b { color: var(--violet); }
.suite-mode-list button.active small { color: #7166a2; }
.suite-generator { border-color: #dce3ee; border-radius: 6px; box-shadow: 0 10px 28px rgba(38, 54, 88, .06); }
.suite-ai-status { color: #4f3ac8; background: #efecff; border: 1px solid #ddd5ff; }
.suite-creation-context { background: #f9fbfe; border-color: #dce3ee; box-shadow: 0 8px 25px rgba(38, 54, 88, .04); }
.suite-creation-context > header small { color: var(--blue); }
.suite-context-mode-grid > button { border-color: #d8e0ec; box-shadow: 0 4px 12px rgba(36, 50, 82, .03); }
.suite-context-mode-grid > button:first-child.active { color: #8f5900; background: #fff9ea; border-color: #f0ad24; box-shadow: inset 0 0 0 2px #f0ad24; }
.suite-context-mode-grid > button:first-child.active > b { background: #e59a00; }
.suite-context-mode-grid > button:last-child.active { color: #2450b8; background: var(--blue-soft); border-color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.suite-context-mode-grid > button:last-child.active > b { background: var(--blue); }
.suite-context-notice { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; margin-top: 13px; padding: 13px 15px; border: 1px solid; border-radius: 6px; line-height: 1.6; }
.suite-context-notice > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; }
.suite-context-notice strong { display: block; margin-bottom: 3px; }
.suite-context-notice p { margin: 0; font-size: 13px; }
.suite-context-notice.is-persona { color: #8a5500; background: #fff9e9; border-color: #efb12f; }
.suite-context-notice.is-persona > b { color: #fff; background: #e69a00; }
.suite-context-notice.is-free { color: #2251b5; background: #edf5ff; border-color: #78a7f5; }
.suite-context-notice.is-free > b { color: #fff; background: var(--blue); }
.suite-context-customer .suite-profile-summary { background: #fff9e9; border-left-color: #e69a00; }
.suite-free-context-grid > label { border-color: #dce4f0; box-shadow: 0 5px 15px rgba(36, 50, 82, .03); }
.suite-free-context-grid label > span b { color: var(--blue); }
.suite-free-context-grid label > span em { background: #e04c45; }
.suite-generator input:focus, .suite-generator textarea:focus, .suite-generator select:focus, .suite-dialog input:focus, .suite-dialog textarea:focus, .suite-dialog select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(65, 105, 225, .12); }
.suite-topic-hero { color: #fff; background: #192544; border-color: #26365f; box-shadow: 0 18px 42px rgba(25, 37, 68, .18); }
.suite-topic-hero span { color: #a9b8e7; }
.suite-topic-hero p { color: #e0e6fb; }
.suite-topic-hero em { color: #4f3ac8; background: #f1edff; }
.suite-topic-card { background: #fff; border-color: #dce3ee; box-shadow: 0 10px 28px rgba(38, 54, 88, .06); }
.suite-topic-card.accent-purple { background: #fff; border-color: #d9d1ff; border-top: 4px solid var(--violet); }
.suite-topic-card.accent-cyan { background: #fff; border-color: #cce8f3; border-top: 4px solid #22a8c8; }
.suite-topic-card.accent-green { background: #fff; border-color: #cfeadd; border-top: 4px solid var(--mint); }
.suite-topic-card.accent-orange { background: #fff; border-color: #f1d7bd; border-top: 4px solid #ef8a35; }
.suite-topic-card-head small { color: #4f3ac8; background: #f1edff; }
.suite-choice-card { border-color: #d9e0eb; box-shadow: 0 4px 14px rgba(36, 50, 82, .03); }
.suite-choice-card:hover { border-color: #8b79e7; box-shadow: 0 9px 22px rgba(70, 55, 150, .10); }
.accent-purple .suite-choice-card b { background: var(--violet); }
.accent-cyan .suite-choice-card b { background: #159fbe; }
.accent-green .suite-choice-card b { background: var(--mint); }
.accent-orange .suite-choice-card b { background: #ed7b2e; }
.accent-purple .suite-choice-card.active { color: #4b37c2; background: #f5f2ff; border-color: var(--violet); box-shadow: inset 0 0 0 2px var(--violet); }
.accent-cyan .suite-choice-card.active { color: #087a94; background: #effcff; border-color: #22a8c8; box-shadow: inset 0 0 0 2px #22a8c8; }
.accent-green .suite-choice-card.active { color: #0c7655; background: var(--green-soft); border-color: var(--mint); box-shadow: inset 0 0 0 2px var(--mint); }
.accent-orange .suite-choice-card.active { color: #a44d12; background: var(--orange-soft); border-color: #ef8a35; box-shadow: inset 0 0 0 2px #ef8a35; }
.topic-generate { background: var(--violet); border-color: var(--violet); box-shadow: 0 12px 25px rgba(111, 78, 232, .24); }
.suite-topic-result-card { border-color: #dce3ee; border-top-color: var(--violet); box-shadow: 0 7px 20px rgba(38, 54, 88, .05); }
.suite-topic-result-card footer button:last-child { background: var(--violet); border-color: var(--violet); }
.suite-topic-result-card footer { flex-wrap: wrap; }
.suite-topic-result-card footer button { min-width: 108px; }
.suite-topic-result-card footer .suite-opening-button,
.suite-topic-library footer .suite-opening-button { color: #075e62; background: #e8fbfa; border-color: #4abfba; font-weight: 850; }
.suite-topic-result-card footer .suite-opening-button:hover,
.suite-topic-library footer .suite-opening-button:hover { color: #fff; background: #159d98; border-color: #159d98; }
.suite-opening-generator { border-top: 4px solid #159d98; }
.suite-opening-generator > header { margin: -1px -1px 18px; padding: 18px; color: #0b4548; background: linear-gradient(90deg, #e9fbfa 0%, #f7fffe 100%); border: 1px solid #bce8e5; border-radius: 5px; }
.suite-opening-generator > header p { color: #467174; }
.suite-opening-generator .suite-ai-status { color: #075e62; background: #dff8f6; border-color: #87d5d0; }
.suite-save-opening-button { color: #075e62; background: #e8fbfa; border-color: #4abfba; }
.suite-save-opening-button:disabled { color: #4d7779; background: #f0f7f7; border-color: #c5d8d8; }
.suite-opening-to-script-button { color: #fff; background: #159d98; border-color: #159d98; }
.suite-opening-saved-content { border-left: 4px solid #159d98; background: #f3fffe; }
.suite-opening-layout { grid-template-columns: minmax(210px, 260px) minmax(0, 1fr); }
.suite-opening-studio { display: grid; justify-self: start; gap: 18px; width: 100%; max-width: 1080px; min-width: 0; }
.suite-opening-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px; color: #fff; background: #192544; border: 1px solid #26365f; border-radius: 6px; box-shadow: 0 16px 34px rgba(25, 37, 68, .16); }
.suite-opening-hero span { color: #9ed9ff; font-size: 11px; font-weight: 900; }
.suite-opening-hero h3 { margin: 8px 0 6px; font-size: 28px; }
.suite-opening-hero p { margin: 0; color: #e0e7f8; line-height: 1.65; }
.suite-opening-hero em { flex: 0 0 auto; padding: 9px 13px; color: #4f3ac8; background: #f1edff; border-radius: 999px; font-style: normal; font-weight: 900; }
.suite-opening-step { padding: 22px; background: #fff; border: 1px solid #dce3ee; border-top: 4px solid #7987a1; border-radius: 6px; box-shadow: 0 9px 24px rgba(38, 54, 88, .05); }
.suite-opening-step.accent-violet { border-top-color: var(--violet); }
.suite-opening-step.accent-blue { border-top-color: var(--blue); }
.suite-opening-step.accent-cyan { border-top-color: #159fbe; }
.suite-opening-step.accent-orange { border-top-color: #ef8a35; }
.suite-opening-step-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.suite-opening-step-head b { display: block; font-size: 17px; }
.suite-opening-step-head b em { margin-left: 7px; padding: 3px 7px; color: #fff; background: #e04c45; border-radius: 999px; font-size: 11px; font-style: normal; }
.suite-opening-step-head b i { margin-left: 7px; padding: 3px 7px; color: #4f3ac8; background: #efecff; border-radius: 999px; font-size: 11px; font-style: normal; }
.suite-opening-step-head p { margin: 6px 0 0; color: #687188; }
.suite-opening-step .suite-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.suite-opening-step .suite-choice-card b { background: #192544; }
.suite-choice-badge { display: inline-block; margin-left: 8px; padding: 2px 7px; color: #b24b19; background: #fff1df; border-radius: 999px; font-size: 11px; font-style: normal; vertical-align: 1px; }
.suite-opening-step.accent-violet .suite-choice-card.active { color: #4b37c2; background: #f5f2ff; border-color: var(--violet); box-shadow: inset 0 0 0 2px var(--violet); }
.suite-opening-step.accent-cyan .suite-choice-card.active { color: #087a94; background: #effcff; border-color: #22a8c8; box-shadow: inset 0 0 0 2px #22a8c8; }
.suite-opening-field { display: block; margin-top: 13px; font-weight: 800; }
.suite-opening-field > span { display: block; margin-bottom: 7px; }
.suite-opening-field input, .suite-opening-field textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; color: #111; background: #fff; border: 1px solid #cbd4e2; border-radius: 5px; font: inherit; }
.suite-opening-field textarea { min-height: 112px; resize: vertical; }
.opening-generate { min-height: 50px; font-size: 16px; background: #ee4f45; border-color: #ee4f45; box-shadow: 0 12px 24px rgba(238, 79, 69, .22); }
.opening-generate:hover { background: #d83d34; border-color: #d83d34; }
.suite-opening-result-intro { padding: 18px 20px; color: #164b54; background: #effbfc; border-bottom: 1px solid #c8e9ec; }
.suite-opening-result-intro strong { font-size: 16px; }
.suite-opening-result-intro p { margin: 5px 0 0; line-height: 1.6; }
.suite-opening-results { width: 100%; max-width: 1080px; min-width: 0; margin-inline: auto; }
.suite-opening-option-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; background: #f5f7fb; }
.suite-opening-option { min-width: 0; padding: 18px; background: #fff; border: 1px solid #d8e0eb; border-left: 4px solid #b7c1d2; border-radius: 6px; }
.suite-opening-option.selected { border-color: #159d98; border-left-color: #159d98; box-shadow: 0 8px 22px rgba(21, 157, 152, .12); }
.suite-opening-option > header { display: flex; align-items: flex-start; gap: 13px; padding: 0 0 13px; background: transparent; border-bottom: 1px solid #e6eaf0; }
.suite-opening-option > header > b { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; color: #fff; background: #192544; border-radius: 5px; font-size: 18px; }
.suite-opening-option > header h4 { margin: 0; font-size: 17px; }
.suite-opening-option > header span { display: block; margin-top: 5px; color: #687188; }
.suite-opening-option > header em { margin-left: auto; padding: 5px 8px; color: #08716d; background: #e3faf7; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 900; }
.suite-opening-option blockquote { margin: 15px 0; padding: 15px 17px; overflow-wrap: anywhere; color: #111; background: #f5f8fc; border-left: 4px solid var(--blue); font-size: 16px; font-weight: 800; line-height: 1.75; }
.suite-opening-option dl { margin: 0; }
.suite-opening-option dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid #edf0f4; }
.suite-opening-option dt { color: #7a8397; }
.suite-opening-option dd { min-width: 0; margin: 0; overflow-wrap: anywhere; line-height: 1.65; }
.suite-opening-option footer { display: flex; justify-content: flex-end; margin-top: 14px; }
.suite-opening-option footer button { min-width: 150px; }
.suite-opening-recommendation { margin: 0 18px 18px; padding: 15px 17px; color: #72510a; background: #fff8e5; border: 1px solid #edcf78; border-radius: 6px; }
.suite-opening-recommendation b { display: block; margin-bottom: 5px; }
.suite-opening-recommendation p { margin: 0; white-space: pre-line; line-height: 1.65; }
.suite-topic-opening-preview { margin-top: 14px; padding: 14px 15px; background: #edfbfa; border-left: 4px solid #159d98; }
.suite-topic-opening-preview small { display: block; color: #08716d; font-weight: 900; }
.suite-topic-opening-preview blockquote { margin: 8px 0; color: #102f32; font-size: 15px; font-weight: 800; line-height: 1.7; }
.suite-topic-opening-preview span { color: #527477; font-size: 12px; }
.suite-result { border-color: #dce3ee; border-radius: 6px; overflow: hidden; }
.suite-result > header { background: #f4f7fb; border-bottom-color: #dce3ee; }
.suite-library-tabs button.active { color: #fff; background: var(--violet); border-color: var(--violet); }
.suite-topic-library-toolbar { background: #eef4ff; border-left-color: var(--blue); }
.suite-topic-library footer .suite-primary { background: var(--violet); border-color: var(--violet); }
.suite-customer-grid > article.active { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 10px 24px rgba(111, 78, 232, .08); }
.suite-customer-grid header > span, .suite-customer-grid footer button:first-child { background: var(--violet); border-color: var(--violet); }
.suite-customer-progress i { background: var(--violet); }

/* 生成结果必须展示全文，不能因内容过长被结果框裁掉。 */
.suite-result {
  height: auto;
  max-height: none;
  overflow: visible;
}
.suite-result > header {
  flex-wrap: wrap;
  border-radius: 5px 5px 0 0;
}
.suite-result > header > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.suite-result header button {
  margin-left: 0;
}
.suite-result .ai-rich-content,
.suite-result .ai-rich-intro,
.suite-result .ai-rich-grid,
.suite-result .ai-rich-flow,
.suite-result .ai-rich-section,
.suite-result .ai-rich-flow-section,
.suite-result .ai-rich-body,
.suite-result pre {
  height: auto;
  max-height: none;
  overflow: visible;
}
.suite-result .ai-rich-content {
  border-radius: 0 0 5px 5px;
}
.suite-result .ai-rich-body,
.suite-result .ai-rich-body p,
.suite-result .ai-rich-body li,
.suite-result .ai-rich-body blockquote,
.suite-result .ai-field-row p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@keyframes suite-spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .suite-shell { grid-template-columns: 1fr; }
  .suite-main { grid-column: 1; }
  .suite-sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  .suite-sidebar.open { transform: translateX(0); }
  .suite-menu-button { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; float: left; background: #fff; border: 1px solid #ccc; }
  .suite-metrics, .suite-feature-grid, .suite-customer-grid, .suite-hot-grid, .suite-plan-grid { grid-template-columns: repeat(2, 1fr); }
  .suite-tool-layout { grid-template-columns: 1fr; }
  .suite-opening-layout { grid-template-columns: 1fr; }
  .suite-opening-studio { max-width: 100%; }
  .suite-mode-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .suite-digital-steps.suite-digital-steps-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suite-digital-workspace { grid-template-columns: 1fr; }
  .suite-choice-grid { grid-template-columns: 1fr; }
  .suite-topic-hero,
  .suite-topic-card-head { flex-direction: column; }
  .suite-profile-template-grid, .suite-profile-stage-nav { grid-template-columns: repeat(2, 1fr); }
  .suite-topic-result-grid, .suite-topic-library { grid-template-columns: 1fr; }
  .suite-strategy-overview { grid-template-columns: 1fr 1fr; }
  .suite-client-workflow { grid-template-columns: 1fr; }
  .suite-pinned-story-entry { grid-template-columns: 44px minmax(0, 1fr); }
  .suite-pinned-story-entry-actions { grid-column: 1 / -1; justify-content: space-between; }
  .suite-pinned-story-template { grid-template-columns: 1fr; align-items: stretch; }
  .suite-memory-value { grid-template-columns: 1fr; }
  .suite-recent-work-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #creatorSuiteRoot { overflow-x: hidden; }
  .suite-content { padding: 18px 12px 50px; }
  .suite-topbar { padding: 10px 12px; }
  .suite-topbar > div:first-child { min-width: 72px; flex: 1; }
  .suite-topbar > div:first-child > p { display: none; }
  .suite-topbar h1 { font-size: 17px; white-space: nowrap; }
  .suite-account { flex: 0 0 auto; gap: 6px; }
  .suite-account b { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .suite-account button { padding: 0 9px; }
  .suite-account span { display: none; }
  .suite-welcome { min-height: 230px; align-items: flex-start; flex-direction: column; padding: 24px 20px; }
  .suite-welcome h2 { font-size: 28px; line-height: 1.25; }
  .suite-welcome span { line-height: 1.65; }
  .suite-welcome-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .suite-welcome-actions button { width: 100%; }
  .suite-memory-value { gap: 22px; padding: 22px 18px; }
  .suite-memory-flow { grid-template-columns: 1fr 1fr; }
  .suite-memory-flow b { margin-bottom: 12px; }
  .suite-recent-work-card { grid-template-columns: 1fr; }
  .suite-recent-work-card > footer { width: auto; flex-direction: row; border-top: 1px solid #e4e8ef; border-left: 0; }
  .suite-recent-work-card > footer button { flex: 1; }
  .suite-recent-work-top small { width: 100%; margin: 2px 0 0; }
  .suite-history-detail > header, .suite-history-detail-title, .suite-history-detail-label { align-items: flex-start; flex-direction: column; }
  .suite-history-detail-title { padding: 20px 16px 16px; }
  .suite-history-detail-title > div:last-child { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .suite-history-detail-title > div:last-child .suite-primary { grid-column: 1 / -1; }
  .suite-history-detail > dl { grid-template-columns: 1fr; margin: 0 16px 18px; }
  .suite-history-detail-content { margin: 0 16px 20px; }
  .suite-metrics, .suite-feature-grid, .suite-customer-grid, .suite-hot-grid, .suite-geo-flow, .suite-digital-steps, .suite-form-grid, .suite-material-summary, .suite-plan-grid, .suite-device-panel dl, .suite-digital-memory-grid { grid-template-columns: 1fr; }
.suite-digital-steps.suite-digital-steps-four, .suite-digital-voice-controls { grid-template-columns: 1fr; }
.suite-voice-rhythm-note { grid-template-columns: 1fr; gap: 2px; }
  .suite-metrics { grid-template-columns: 1fr 1fr; }
  .suite-mode-list { grid-template-columns: 1fr; }
  .suite-opening-hero { align-items: flex-start; flex-direction: column; padding: 18px; }
  .suite-opening-hero h3 { font-size: 23px; }
  .suite-opening-step { padding: 16px; }
  .suite-opening-step .suite-choice-grid { grid-template-columns: 1fr; }
  .suite-opening-option-list { padding: 12px; }
  .suite-opening-option { padding: 14px; }
  .suite-opening-option dl > div { grid-template-columns: 1fr; gap: 4px; }
  .suite-opening-option footer button { width: 100%; min-width: 0; }
  .suite-topic-copy-meta { flex-direction: column; gap: 6px; }
  .suite-topic-copy-content { max-height: 58vh; }
  .suite-topic-copy-actions { flex-direction: column-reverse; }
  .suite-topic-copy-actions button { width: 100%; }
  .suite-generator { padding: 16px; }
  .suite-generator > header { flex-direction: column; }
  .suite-generator header select { width: 100%; }
  .suite-media-transcript { padding: 15px; }
  .suite-media-transcript > header { flex-direction: column; }
  .suite-media-actions { display: grid; grid-template-columns: 1fr; }
  .suite-media-actions button, .suite-media-upload { width: 100%; }
  .suite-media-notice { flex-direction: column; gap: 3px; }
  .suite-section-heading { align-items: flex-start; flex-direction: column; }
  .suite-material-list article { align-items: flex-start; flex-direction: column; }
  .suite-material-list p { white-space: normal; }
  .suite-collector { grid-template-columns: 1fr; }
  .suite-member-status { grid-template-columns: 1fr; }
  .suite-credit-grid { grid-template-columns: 1fr 1fr; }
  .suite-profile-tabs { grid-template-columns: 1fr; }
  .suite-profile-intro { grid-template-columns: 1fr; }
  .suite-profile-template-grid, .suite-profile-stage-nav { grid-template-columns: 1fr; }
  .suite-context-mode-grid, .suite-free-context-grid, .suite-guide-columns { grid-template-columns: 1fr; }
  .suite-original-field-grid { grid-template-columns: 1fr; }
  .suite-original-field-grid .wide { grid-column: auto; }
  .suite-history-list .suite-history-card { grid-template-columns: 1fr; }
  .suite-history-card > header { align-items: flex-start; flex-direction: column; }
  .suite-history-main dl { grid-template-columns: 1fr; }
  .suite-history-card > footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
  .suite-history-card > footer button { min-height: 42px; white-space: nowrap; }
  .suite-context-customer { grid-template-columns: 1fr; }
  .suite-free-context-grid > label.wide { grid-column: auto; }
  .suite-guide-sections { margin-left: 0; }
  .suite-library-tabs, .suite-topic-result-grid, .suite-topic-library, .suite-strategy-overview { grid-template-columns: 1fr; }
  .suite-pinned-story-entry { grid-template-columns: 38px minmax(0, 1fr); padding: 14px; }
  .suite-pinned-story-mark { width: 38px; height: 38px; }
  .suite-pinned-story-entry-actions { align-items: stretch; flex-direction: column; }
  .suite-pinned-story-entry-actions > span { max-width: none; text-align: left; }
  .suite-pinned-story-entry-actions button { width: 100%; }
  .suite-topic-library-toolbar, .suite-template-brief { grid-template-columns: 1fr; align-items: stretch; }
  .suite-topic-library-toolbar { flex-direction: column; }
  .suite-topic-library-toolbar select { width: 100%; }
  .suite-document-import { grid-template-columns: 1fr; }
  .suite-document-import > span { grid-column: auto; }
  .suite-document-import .suite-import-button { width: auto; }
  .suite-question-grid { grid-template-columns: 1fr; }
  .suite-question-grid label.long { grid-column: auto; }
  .suite-membership-head, .suite-membership-title { align-items: flex-start; flex-direction: column; }
  .suite-membership-head > div:last-child { width: 100%; }
  .suite-membership-head button { flex: 1; }
  .suite-member-status dl, .suite-credit-grid, .suite-plan-grid.membership-plans { grid-template-columns: 1fr; }
  .suite-membership-benefits { grid-template-columns: 1fr; }
  .suite-segmented { width: 100%; box-sizing: border-box; }
  .suite-segmented button { flex: 1; }
  .suite-membership-notice { flex-direction: column; }
  .suite-digital-task { align-items: flex-start; flex-wrap: wrap; }
  .suite-digital-preview { width: 88px; }
  .ai-rich-content { padding: 12px; }
  .ai-rich-grid { grid-template-columns: 1fr; }
  .ai-rich-flow { padding: 2px 14px; }
  .ai-rich-flow-section { grid-template-columns: 42px minmax(0, 1fr); gap: 0 10px; }
  .ai-rich-flow-section > header { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .ai-rich-flow-section > .ai-rich-body { grid-column: 1 / -1; padding-top: 4px; }
  .ai-rich-section { padding: 14px; }
  .ai-field-row { grid-template-columns: 1fr; gap: 3px; }
  .ai-table-row { display: grid; grid-template-columns: 1fr; }
  .ai-table-row > span { border-top: 1px solid #e5e5e5; border-left: 0; }
  .ai-table-row > span:first-child { border-top: 0; }
  .chat-message.is-assistant { width: 100%; }
  .suite-digital-memory-grid.is-two-column { grid-template-columns: 1fr; }
  .suite-retention-notice { grid-template-columns: 1fr; }
  .suite-retention-notice strong { grid-row: auto; }
  .suite-legal-dialog > div { padding: 18px; }
  .suite-legal-dialog footer { flex-direction: column-reverse; }
  .suite-legal-dialog footer button { width: 100%; }
}

.suite-edit-test-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 13px 16px;
  color: #4d3a00;
  border: 1px solid #e0bd52;
  border-left: 4px solid #d19a00;
  border-radius: 6px;
  background: #fff9e7;
}

.suite-edit-test-notice p {
  margin: 0;
  color: #745f24;
}

.suite-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.suite-edit-form {
  min-width: 0;
}

.suite-edit-form .suite-required {
  margin-left: 4px;
  color: #b42318;
  font-size: 11px;
}

.suite-edit-form textarea {
  min-height: 150px;
}

.suite-edit-form #autoEditInstruction {
  min-height: 92px;
}

.suite-edit-stage {
  margin-top: 20px;
  border-left: 3px solid #6f4ee8;
  background: #faf9ff;
}

.suite-edit-stage legend {
  letter-spacing: 0;
}

.suite-edit-stage legend b {
  margin-right: 5px;
  color: #5b3fd2;
  font-size: 12px;
}

.suite-edit-stage-note {
  margin: 10px 0 0;
  color: #677189;
  font-size: 12px;
  line-height: 1.55;
}

.suite-edit-control-grid .wide {
  grid-column: 1 / -1;
}

.suite-edit-recognize-row {
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
}

.suite-edit-recognize-row span {
  min-width: 0;
  color: #65708a;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.suite-edit-style-fieldset {
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.suite-edit-style-fieldset legend {
  margin-bottom: 8px;
  font-weight: 750;
}

.suite-edit-style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.suite-edit-style-card {
  position: relative;
  min-width: 0;
  margin: 0 !important;
  cursor: pointer;
}

.suite-edit-style-card input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
}

.suite-edit-style-card span {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #d8deea;
  border-radius: 6px;
  background: #fafbfe;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.suite-edit-style-card em {
  width: fit-content;
  padding: 2px 5px;
  border-radius: 4px;
  color: #665c78;
  background: #ece9f4;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.suite-edit-style-card small {
  color: #6b7487;
  font-weight: 500;
  line-height: 1.45;
}

.suite-edit-style-card:hover span {
  border-color: #8c79ed;
  background: #f8f6ff;
}

.suite-edit-style-card:has(input:checked) span {
  color: #4e3ac7;
  border-color: #6f4ee8;
  background: #f1edff;
  box-shadow: inset 0 0 0 1px #6f4ee8;
}

.suite-edit-style-card[data-template-card="human"]:has(input:checked) span {
  color: #8a3100;
  border-color: #f2a000;
  background: #fff7dc;
  box-shadow: inset 0 0 0 1px #f2a000;
}

.suite-edit-style-card[data-template-card="client"]:has(input:checked) span {
  color: #075f68;
  border-color: #16a6b7;
  background: #eafcfd;
  box-shadow: inset 0 0 0 1px #16a6b7;
}

.suite-edit-style-card[data-template-card="local"]:has(input:checked) span {
  color: #9b3d12;
  border-color: #ee6a2b;
  background: #fff2eb;
  box-shadow: inset 0 0 0 1px #ee6a2b;
}

.suite-edit-style-card[data-template-card="knowledge"]:has(input:checked) span {
  color: #23427a;
  border-color: #5876aa;
  background: #edf3ff;
  box-shadow: inset 0 0 0 1px #5876aa;
}

.suite-edit-template-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dce2ed;
  border-left: 4px solid #f2a000;
  border-radius: 6px;
  background: #fffdf6;
}

.suite-edit-template-fields[data-template="client"] {
  border-left-color: #16a6b7;
  background: #f4fdfd;
}

.suite-edit-template-fields[data-template="local"] {
  border-left-color: #ee6a2b;
  background: #fff8f4;
}

.suite-edit-template-fields[data-template="knowledge"] {
  border-left-color: #5876aa;
  background: #f6f8fc;
}

.suite-edit-template-fields label {
  min-width: 0;
  margin: 0;
}

.suite-edit-template-fields .wide {
  grid-column: 1 / -1;
}

#autoEditBgmPreviewAudio {
  width: 100%;
  height: 34px;
  margin-top: 8px;
}

#autoEditBgmPreviewAudio[hidden] {
  display: none;
}

.suite-edit-template-explain strong {
  display: block;
  margin-bottom: 4px;
  color: #202738;
}

.suite-edit-template-explain p {
  margin: 0;
  color: #626d82;
  font-size: 13px;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

.suite-edit-title-count {
  display: block;
  margin-top: 5px;
  color: #687188;
  font-size: 12px;
  text-align: right;
}

.suite-edit-control-panel {
  min-width: 0;
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid #d8deea;
  border-radius: 6px;
  background: #f7f8fb;
}

.suite-edit-control-panel legend {
  padding: 0 7px;
  color: #22283a;
  font-weight: 800;
}

.suite-edit-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.suite-edit-control-grid label {
  min-width: 0;
  margin: 0;
}

.suite-edit-control-grid label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.suite-edit-control-grid output {
  min-width: 54px;
  color: #5138c5;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.suite-edit-control-grid input[type="range"] {
  width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 0;
  accent-color: #6f4ee8;
  cursor: pointer;
}

.suite-edit-control-grid select {
  width: 100%;
  min-height: 38px;
  margin: 0;
}

.suite-auto-material-option {
  padding: 14px 16px;
  border: 1px solid #cfd8ea;
  border-left: 4px solid #316be8;
  border-radius: 6px;
  background: #f5f8ff;
}

.suite-auto-material-option label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin: 0 0 6px;
  color: #17223a;
  font-weight: 850;
}

.suite-auto-material-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #316be8;
}

.suite-auto-material-option small {
  display: block;
  color: #5c687f;
  line-height: 1.65;
}

.suite-edit-switches {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 17px 0 4px;
}

.suite-edit-switches label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.suite-edit-switches input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.suite-edit-summary {
  padding: 18px;
  border: 1px solid #dce3ee;
  border-radius: 6px;
  background: #151925;
  color: #fff;
  box-shadow: 0 10px 28px rgba(25, 32, 54, .12);
}

.suite-edit-summary > small {
  color: #a996ff;
  font-weight: 850;
}

.suite-edit-summary h3 {
  margin: 5px 0 15px;
}

.suite-edit-live-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid #41485d;
  border-radius: 6px;
  background: #0b0f18;
  isolation: isolate;
}

.suite-edit-live-preview[data-aspect="16:9"] { aspect-ratio: 16 / 9; }
.suite-edit-live-preview[data-aspect="1:1"] { aspect-ratio: 1 / 1; }

.suite-edit-preview-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #151b27;
  transition: filter .18s ease;
}

.suite-edit-preview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suite-edit-preview-media video:not([src]) { display: none; }

.suite-edit-preview-media span {
  max-width: 150px;
  color: #8f98ac;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.suite-edit-live-preview > strong,
.suite-edit-live-preview > b,
.suite-edit-live-preview > em,
.suite-edit-live-preview > i,
.suite-edit-live-preview > small,
.suite-edit-live-preview > span {
  position: absolute;
  box-sizing: border-box;
  color: #fff;
  font-style: normal;
  line-height: 1.22;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}

.suite-edit-live-preview > small {
  top: 4%;
  left: 5%;
  z-index: 4;
  padding: 3px 6px;
  border-radius: 3px;
  color: #191919;
  background: #ffe000;
  font-size: 9px;
  font-weight: 850;
}

.suite-edit-live-preview > strong {
  right: 10%;
  left: 10%;
  width: auto;
  padding: 3px 5px;
  transform: none;
  white-space: nowrap;
  background: rgba(0,0,0,.68);
  text-align: center;
  display: grid;
  gap: 2px;
  line-height: 1.12;
}

.suite-edit-live-preview[data-headline-style="yellow"] > strong {
  color: #ffe600;
  background: rgba(0, 0, 0, .76);
}

.suite-edit-live-preview[data-headline-style="clean"] > strong {
  color: #fff;
  background: transparent;
  text-shadow: 0 2px 3px #000, 0 0 2px #000;
}

.suite-edit-live-preview > b {
  left: 50%;
  width: 92%;
  padding: 2px 4px;
  transform: translateX(-50%);
  text-align: center;
}

.suite-edit-live-preview[data-subtitle-style="yellow"] > b {
  color: #ffe600;
  text-shadow: 0 2px 2px #000, 0 0 3px #000;
}

.suite-edit-live-preview[data-subtitle-style="card"] > b {
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(15, 15, 15, .68);
}

.suite-edit-live-preview[data-subtitle-style="orange"] > b {
  color: #ff9d3b;
  text-shadow: 0 2px 2px #000, 0 0 3px #000;
}

.suite-edit-live-preview > i {
  right: 5%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 4px;
  background: rgba(72,82,105,.78);
  font-size: 11px;
}

.suite-edit-live-preview > em {
  display: none !important;
}

.suite-edit-live-preview > span {
  top: 48%;
  left: 7%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 62%;
  gap: 2px;
  padding: 7px 9px;
  border-left: 4px solid #fff;
  background: rgba(13, 18, 28, .82);
  text-align: left;
}

.suite-edit-live-preview > span strong {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.suite-edit-live-preview > span small {
  color: #fff;
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* 共建爆款库 */
.suite-hot-heading { align-items: flex-end; }
.suite-hot-heading-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.suite-hot-heading-actions span { color: #667085; font-size: 12px; }
.suite-hot-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 14px 0; padding: 14px 16px; border: 1px solid #ffb58f; border-left: 4px solid #ff5a1f; border-radius: 6px; background: #fff8f4; }
.suite-hot-banner b { color: #d9360d; }
.suite-hot-banner span { color: #6b3a2b; }
.suite-hot-banner em { color: #d9360d; font-style: normal; font-weight: 800; }
.suite-hot-type-tabs { display: flex; gap: 8px; margin: 18px 0 10px; }
.suite-hot-type-tabs button { min-height: 42px; padding: 0 18px; border: 1px solid #d8dee8; border-radius: 5px; background: #fff; color: #475467; font-weight: 800; }
.suite-hot-type-tabs button.active { border-color: #ff5a1f; background: #ff5a1f; color: #fff; }
.suite-hot-filters { display: grid; grid-template-columns: minmax(240px, 1fr) 150px auto auto; align-items: center; gap: 10px; padding: 14px; border: 1px solid #d8dee8; border-radius: 6px; background: #fff; }
.suite-hot-filters input[type="text"], .suite-hot-filters input:not([type]), .suite-hot-filters select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #cfd6e2; border-radius: 4px; background: #fff; }
.suite-hot-filters label { display: flex; flex-direction: row; align-items: center; gap: 7px; margin: 0; white-space: nowrap; }
.suite-hot-filters label input { width: 16px; height: 16px; }
.suite-hot-filters button { min-height: 42px; padding: 0 15px; border: 1px solid #cfd6e2; border-radius: 4px; background: #fff; }
.suite-hot-grid article { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 6px; box-shadow: 0 5px 18px rgba(16, 24, 40, .06); }
.suite-hot-cover.live { min-height: 168px; background-color: #14181f; }
.suite-hot-cover.live strong { color: rgba(255, 255, 255, .18); font-size: 58px; }
.suite-hot-card-body { display: flex; min-height: 254px; flex: 1; flex-direction: column; padding: 16px !important; }
.suite-hot-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.suite-hot-card-meta span, .suite-hot-tags span { display: inline-flex; margin: 0; padding: 4px 7px; border-radius: 3px; background: #f1f4f8; color: #344054; font-size: 11px; }
.suite-hot-card-meta span:first-child { background: #fff0e8; color: #c4320a; }
.suite-hot-grid h3 { min-height: auto; }
.suite-hot-tags { min-height: 28px; margin: 0 0 10px; }
.suite-hot-card-body small { display: block; color: #667085; line-height: 1.65; }
.suite-hot-card-body small b { display: block; margin-bottom: 3px; color: #101828; }
.suite-hot-card-body .suite-hot-owner { margin-top: auto; padding-top: 13px; color: #98a2b3; }
.suite-hot-grid footer { display: grid; grid-template-columns: 1fr 1fr auto; }
.suite-hot-grid footer a { padding: 0 12px; border-left: 1px solid #ddd; }
.suite-hot-access-gate { max-width: 720px; margin: 54px auto 20px; padding: 48px 24px; border: 1px dashed #ff9b6a; border-radius: 7px; background: #fff; text-align: center; }
.suite-hot-access-gate > span { display: block; font-size: 32px; }
.suite-hot-access-gate h3 { margin: 12px 0 8px; font-size: 24px; }
.suite-hot-access-gate p { margin: 0 0 20px; color: #667085; }
.suite-hot-result { margin-top: 20px; }
.suite-hot-analysis header { display: flex; justify-content: space-between; gap: 20px; padding: 18px; border-bottom: 1px solid #e4e7ec; }
.suite-hot-analysis header span { color: #ff5a1f; font-size: 12px; font-weight: 900; }
.suite-hot-analysis header h3 { margin: 5px 0 0; }
.suite-hot-analysis header > b { color: #d9360d; white-space: nowrap; }
.suite-hot-analysis > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.suite-hot-analysis section { padding: 16px 18px; border-right: 1px solid #e4e7ec; border-bottom: 1px solid #e4e7ec; }
.suite-hot-analysis section:nth-child(even) { border-right: 0; }
.suite-hot-analysis section strong { color: #344054; font-size: 12px; }
.suite-hot-analysis section p { margin: 7px 0 0; color: #101828; line-height: 1.75; white-space: pre-wrap; }
.suite-hot-share-dialog { width: min(660px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 0; overflow: auto; border: 0; border-radius: 8px; }
.suite-hot-share-dialog::backdrop { background: rgba(15, 23, 42, .62); }
.suite-hot-share-panel { padding: 0; }
.suite-hot-share-panel > header, .suite-hot-share-panel > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid #e4e7ec; }
.suite-hot-share-panel > header span { font-size: 19px; font-weight: 900; }
.suite-hot-share-panel > header p { margin: 5px 0 0; color: #667085; }
.suite-hot-share-panel > header button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f2f4f7; font-size: 20px; }
.suite-hot-share-panel > label, .suite-hot-share-panel > fieldset, .suite-hot-analysis-notice, .suite-hot-threshold, .suite-hot-submit-status { display: block; margin: 16px 22px 0; }
.suite-hot-share-panel > label > b { color: #e11d48; }
.suite-hot-share-panel textarea { width: 100%; min-height: 78px; margin-top: 7px; padding: 11px 12px; resize: vertical; border: 1px solid #cfd6e2; border-radius: 5px; }
.suite-hot-threshold { padding: 10px 12px; border-radius: 4px; background: #fff7ed; color: #9a3412; }
.suite-hot-share-panel fieldset { padding: 0; border: 0; }
.suite-hot-share-panel fieldset legend { margin-bottom: 9px; font-weight: 800; }
.suite-hot-share-panel fieldset > p { margin: 8px 0 0; color: #667085; font-size: 12px; }
.suite-hot-type-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.suite-hot-type-choice label { position: relative; display: block; margin: 0; }
.suite-hot-type-choice input { position: absolute; opacity: 0; pointer-events: none; }
.suite-hot-type-choice span { display: block; min-height: 92px; padding: 15px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; }
.suite-hot-type-choice input:checked + span { border-color: #ff5a1f; box-shadow: inset 0 0 0 1px #ff5a1f; background: #fff8f4; }
.suite-hot-type-choice b, .suite-hot-type-choice small { display: block; }
.suite-hot-type-choice small { margin-top: 7px; color: #667085; line-height: 1.5; }
.suite-hot-analysis-notice { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; border: 1px solid #b9d6ff; border-radius: 5px; background: #f2f7ff; color: #194185; }
.suite-hot-analysis-notice span { line-height: 1.6; }
.suite-hot-consent { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 9px; color: #667085; line-height: 1.55; }
.suite-hot-consent input { width: 16px !important; height: 16px; flex: 0 0 auto; margin-top: 3px; }
.suite-hot-submit-status { min-height: 24px; color: #c4320a; font-weight: 700; }
.suite-hot-share-panel > footer { justify-content: flex-end; margin-top: 10px; border-top: 1px solid #e4e7ec; border-bottom: 0; }
.suite-hot-share-panel > footer button { min-height: 42px; padding: 0 18px; border: 1px solid #d0d5dd; border-radius: 5px; background: #fff; }
.suite-hot-share-panel > footer .suite-primary { border-color: #ff5a1f; background: #ff5a1f; color: #fff; }
.suite-hot-share-panel > footer button:disabled { cursor: wait; opacity: .55; }

@media (max-width: 760px) {
  .suite-poster7-profile-summary, .suite-poster7-mode-grid, .suite-poster7-results { grid-template-columns: 1fr; }
  .suite-poster7-form { grid-template-columns: 1fr; }
  .suite-poster7-form label.wide { grid-column: auto; }
  .suite-poster7-line-count { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .suite-poster7-panel { padding: 15px; }
  .suite-hot-heading { align-items: stretch; }
  .suite-hot-heading-actions { align-items: stretch; }
  .suite-hot-banner { grid-template-columns: 1fr; }
  .suite-hot-filters { grid-template-columns: 1fr 1fr; }
  .suite-hot-filters > input:first-child { grid-column: 1 / -1; }
  .suite-hot-grid { grid-template-columns: 1fr; }
  .suite-hot-card-body { min-height: 0; }
  .suite-hot-analysis > div { grid-template-columns: 1fr; }
  .suite-hot-analysis section { border-right: 0; }
  .suite-hot-type-choice { grid-template-columns: 1fr; }
  .suite-hot-share-panel > header, .suite-hot-share-panel > footer { padding: 16px; }
  .suite-hot-share-panel > label, .suite-hot-share-panel > fieldset, .suite-hot-analysis-notice, .suite-hot-threshold, .suite-hot-submit-status { margin-right: 16px; margin-left: 16px; }
}

.suite-edit-live-preview[data-template="knowledge"] > span {
  border-left-color: #fff;
}

.suite-edit-live-preview[data-template="knowledge"] > span strong {
  color: #fff;
}

.suite-edit-live-preview[data-template="human"] > strong,
.suite-edit-live-preview[data-template="client"] > strong {
  color: #ffe300;
  background: transparent;
  text-shadow: 0 2px 2px #000, 0 0 4px #000;
}

.suite-edit-live-preview[data-template="human"] > i {
  inset: 28% 5% 23% 5%;
  width: 90% !important;
  aspect-ratio: auto;
  border: 0;
  background: rgba(38, 45, 59, .94);
  font-size: 12px;
}

.suite-edit-live-preview[data-keyword-effect="color"][data-template="human"] > b,
.suite-edit-live-preview[data-keyword-effect="fade"][data-template="human"] > b {
  color: #ffe300;
}

.suite-edit-live-preview[data-keyword-effect="color"][data-template="client"] > b,
.suite-edit-live-preview[data-keyword-effect="fade"][data-template="client"] > b {
  color: #31e5ee;
}

.suite-edit-live-preview[data-keyword-effect="color"][data-template="local"] > b,
.suite-edit-live-preview[data-keyword-effect="fade"][data-template="local"] > b {
  color: #ff9d3b;
}

.suite-edit-live-preview[data-template="local"] > small {
  color: #fff;
  background: #f36b2e;
}

.suite-edit-live-preview[data-template="local"] > em {
  border-left-color: #ff7135;
  color: #ffb071;
}

.suite-edit-live-preview[data-template="knowledge"] > small {
  color: #fff;
  background: #345784;
}

.suite-edit-live-preview[data-template="knowledge"] > em {
  border-left-color: #8eaee2;
  background: rgba(27, 43, 68, .86);
}

.suite-edit-preview-note {
  margin: 9px 0 16px;
  color: #bfc6d6;
  font-size: 11px;
  line-height: 1.55;
}

.suite-edit-preview-note span {
  color: #c9bcff;
  font-weight: 800;
}

.suite-edit-cover-stage {
  background: #fff;
  border-color: #cfd6e2;
}

.suite-cover-style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.suite-cover-style-card {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 5px;
  margin: 0 !important;
  padding: 8px;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  background: #f7f8fa;
  cursor: pointer;
}

.suite-cover-style-card input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
}

.suite-cover-style-card:has(input:checked) {
  border-color: #151925;
  box-shadow: inset 0 0 0 1px #151925;
}

.suite-cover-style-card > span {
  position: relative;
  display: block;
  aspect-ratio: 9 / 12;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(150deg, #6f7681, #191d24);
}

.suite-cover-style-card > span i {
  position: absolute;
  display: block;
  border-radius: 1px;
  background: #fff;
}

.suite-cover-style-card > span[data-cover-mini="headline-collage"] i:nth-child(1) { top: 6%; left: 4%; width: 92%; height: 13%; background: #e51f25; }
.suite-cover-style-card > span[data-cover-mini="headline-collage"] i:nth-child(2) { top: 30%; right: 5%; width: 30%; height: 24%; background: #ffe61f; }
.suite-cover-style-card > span[data-cover-mini="headline-collage"] i:nth-child(3) { bottom: 22%; left: 5%; width: 72%; height: 8%; background: #ffe61f; }
.suite-cover-style-card > span[data-cover-mini="headline-collage"] i:nth-child(4) { bottom: 7%; left: 5%; width: 90%; height: 11%; background: #fff; }
.suite-cover-style-card > span[data-cover-mini="floating-type"] i:nth-child(1) { top: 7%; left: 5%; width: 90%; height: 15%; }
.suite-cover-style-card > span[data-cover-mini="floating-type"] i:nth-child(2) { top: 31%; right: 6%; width: 25%; height: 37%; background: #6ff0e9; }
.suite-cover-style-card > span[data-cover-mini="floating-type"] i:nth-child(3) { bottom: 18%; left: 5%; width: 86%; height: 11%; background: #6ff0e9; }
.suite-cover-style-card > span[data-cover-mini="floating-type"] i:nth-child(4) { right: 5%; bottom: 6%; width: 52%; height: 8%; }
.suite-cover-style-card > span[data-cover-mini="yellow-frame"] { box-shadow: inset 0 0 0 5px #ffe000; }
.suite-cover-style-card > span[data-cover-mini="yellow-frame"] i:nth-child(1) { top: 4%; left: 4%; width: 48%; height: 10%; background: #ffe000; }
.suite-cover-style-card > span[data-cover-mini="yellow-frame"] i:nth-child(2) { top: 6%; right: 5%; width: 25%; height: 5%; background: #202329; }
.suite-cover-style-card > span[data-cover-mini="yellow-frame"] i:nth-child(3) { bottom: 17%; left: 5%; width: 90%; height: 15%; background: #1064ac; }
.suite-cover-style-card > span[data-cover-mini="yellow-frame"] i:nth-child(4) { bottom: 7%; left: 25%; width: 50%; height: 5%; background: #1064ac; }
.suite-cover-style-card > span[data-cover-mini="clean-label"] i:nth-child(1) { top: 4%; left: 4%; width: 43%; height: 11%; background: #efff31; }
.suite-cover-style-card > span[data-cover-mini="clean-label"] i:nth-child(2) { right: 6%; bottom: 29%; width: 34%; height: 8%; background: #2469b3; }
.suite-cover-style-card > span[data-cover-mini="clean-label"] i:nth-child(3) { bottom: 14%; left: 5%; width: 90%; height: 13%; background: #dcf52e; }
.suite-cover-style-card > span[data-cover-mini="clean-label"] i:nth-child(4) { bottom: 6%; left: 26%; width: 48%; height: 5%; background: #2469b3; }

.suite-cover-style-card strong {
  font-size: 12px;
}

.suite-cover-style-card small {
  color: #6b7487;
  font-size: 10px;
  line-height: 1.35;
}

.suite-edit-cover-copy-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.suite-cover-ai-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 12px 0;
}

.suite-cover-ai-summary > span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #d9dee8;
  border-radius: 5px;
  background: #fff;
}

.suite-cover-ai-summary b {
  color: #70798a;
  font-size: 10px;
}

.suite-cover-ai-summary i {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #171c27;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.suite-edit-cover-copy-fields small,
.suite-studio-cover-editor label > small,
.suite-template-line-grid label > small {
  display: block;
  margin-top: 4px;
  color: #6e7789;
  font-size: 11px;
  text-align: right;
}

.suite-template-copy-editor {
  padding-top: 10px;
  border-top: 1px solid #dbe1ea;
}

#autoEditGenerateTitleButton {
  width: fit-content;
  margin-top: 8px;
}

.suite-template-copy-editor > strong,
.suite-template-copy-editor > small {
  display: block;
}

.suite-template-copy-editor > small {
  margin: 3px 0 9px;
  color: #687286;
  font-size: 12px;
}

.suite-template-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.suite-template-line-grid label > span {
  display: block;
  margin-bottom: 5px;
  color: #3b4354;
  font-size: 12px;
  font-weight: 750;
}

.suite-edit-preview-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 10px;
  padding: 3px;
  border: 1px solid #343b4d;
  border-radius: 6px;
  background: #0e121c;
}

.suite-edit-preview-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  color: #aeb7c9;
  background: transparent;
  cursor: pointer;
}

.suite-edit-preview-tabs button.active {
  color: #11151e;
  background: #c7ff27;
  font-weight: 800;
}

.suite-edit-cover-frame-preview {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid #41485d;
  border-radius: 6px;
  background: #0b0f18;
  isolation: isolate;
}

.suite-edit-cover-preview-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1b202b;
}

.suite-edit-cover-preview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.08) 40%, rgba(0,0,0,.72));
}

.suite-edit-cover-preview-media video,
.suite-edit-cover-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suite-edit-cover-preview-media video:not([src]) { display: none; }
.suite-edit-cover-preview-media img[hidden] { display: none; }
.suite-edit-cover-preview-media span { color: #9099aa; font-size: 11px; }

.suite-edit-cover-frame-preview > .suite-cover-kicker,
.suite-edit-cover-frame-preview > .suite-cover-title,
.suite-edit-cover-frame-preview > .suite-cover-side,
.suite-edit-cover-frame-preview > .suite-cover-footer {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  color: #fff;
  font-style: normal;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 2px 3px #000, 1px 0 1px #000, -1px 0 1px #000;
  overflow-wrap: anywhere;
}

.suite-edit-cover-frame-preview > .suite-cover-title { font-size: 34px; font-weight: 950; text-align: center; }
.suite-edit-cover-frame-preview > .suite-cover-kicker { font-size: 14px; font-weight: 900; }
.suite-edit-cover-frame-preview > .suite-cover-side { font-size: 21px; font-weight: 950; text-align: center; }
.suite-edit-cover-frame-preview > .suite-cover-footer { font-size: 25px; font-weight: 950; text-align: center; }

.suite-edit-live-preview > strong {
  display: grid;
  gap: 2px;
}

.suite-edit-live-preview > strong > span {
  display: block;
  width: max-content;
  max-width: none;
  margin: 0 auto;
  white-space: nowrap;
  overflow-wrap: normal;
}

.suite-edit-live-preview[data-template="human"] > strong > span {
  color: #ffe500;
}

.suite-edit-live-preview[data-template="human"] > span {
  border-left-color: #fff;
}

.suite-edit-live-preview[data-template="human"] > span strong,
.suite-edit-live-preview[data-template="human"] > span small {
  color: #fff;
}

.suite-edit-live-preview[data-template="client"] > strong > span:nth-child(1),
.suite-edit-live-preview[data-template="client"] > strong > span:nth-child(3) {
  color: #fff;
  font-size: .72em;
}

.suite-edit-live-preview[data-template="client"] > strong > span:nth-child(2) {
  color: #ffe500;
  font-size: 1.08em;
}

.suite-edit-live-preview[data-template="knowledge"] > strong {
  color: #fff;
  background: transparent;
  text-align: left;
}

.suite-edit-live-preview[data-template="knowledge"] > em {
  top: 23%;
  left: 6%;
  z-index: 5;
  display: block !important;
  width: 72%;
  padding: 8px 10px;
  border-left: 5px solid #f1c16b;
  color: #fff;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.22));
  font-size: 14px;
  font-weight: 850;
  text-align: left;
}

.suite-edit-live-preview[data-template="local"] > strong {
  top: 6%;
  gap: 3px;
  padding: 0;
  background: transparent;
  font-size: .86em;
  text-shadow: none;
}

.suite-edit-live-preview[data-template="local"] > strong > span:nth-child(1) {
  padding: 3px 7px;
  color: #fff;
  background: #ef2a2a;
}

.suite-edit-live-preview[data-template="local"] > strong > span:nth-child(2) {
  color: #fff;
  text-shadow: 0 2px 2px #000, 0 0 2px #000;
}

.suite-edit-live-preview[data-template="local"] > strong > span:nth-child(3) {
  padding: 3px 7px;
  color: #111;
  background: #ffe600;
}

.suite-edit-live-preview[data-template="daily"] > strong {
  top: 7%;
  gap: 1px;
  padding: 0;
  background: transparent;
  font-size: 19px;
  line-height: 1.08;
  text-shadow: 0 2px 2px #000, 2px 0 1px #000, -2px 0 1px #000;
}

.suite-edit-live-preview[data-template="daily"] > strong > span:nth-child(1) {
  color: #45f5c7;
  font-size: .92em;
}

.suite-edit-live-preview[data-template="daily"] > strong > span:nth-child(2) {
  color: #fff;
  font-size: .72em;
}

.suite-edit-live-preview[data-template="daily"] > i {
  inset: 27% 0 18%;
  width: auto !important;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: rgba(45, 55, 68, .86);
  color: #e9fff9;
  text-align: center;
}

.suite-edit-live-preview[data-template="daily"] > b {
  font-weight: 800;
  text-shadow: 0 2px 2px #000, 1px 0 2px #000, -1px 0 2px #000;
}

.suite-edit-live-preview[data-template] > b {
  color: #fff !important;
  text-shadow: 0 2px 2px #000, 0 0 3px #000;
}

.suite-edit-plan-title {
  margin: 0 0 9px;
  font-size: 14px;
}

.suite-edit-summary ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #34394a;
}

.suite-edit-summary li {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #202534;
}

.suite-edit-summary li b {
  color: #fff;
}

.suite-edit-summary li span,
.suite-edit-summary-note p {
  margin: 0;
  color: #bfc6d6;
  font-size: 12px;
  line-height: 1.5;
}

.suite-edit-summary-note {
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  background: #2b2448;
}

.suite-edit-records {
  margin-top: 18px;
}

.suite-edit-task {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #e2e6ee;
}

.suite-edit-preview {
  width: 100px;
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  background: #171b28;
  font-weight: 850;
}

.suite-edit-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suite-edit-task-main {
  min-width: 0;
}

.suite-edit-task-main > span,
.suite-edit-task-main > small {
  color: #747e91;
  font-size: 12px;
}

.suite-edit-task-main h4 {
  margin: 5px 0;
}

.suite-edit-task-main p {
  display: -webkit-box;
  margin: 4px 0 9px;
  overflow: hidden;
  color: #566078;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.suite-edit-plan-details {
  margin: 8px 0 10px;
  border-top: 1px solid #e1e5ed;
  border-bottom: 1px solid #e1e5ed;
}

.suite-edit-plan-details summary {
  padding: 9px 0;
  color: #5138c5;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.suite-edit-plan-details > p {
  display: block;
  margin: 0 0 8px;
  overflow: visible;
  color: #59637a;
  font-size: 12px;
  line-height: 1.55;
  -webkit-line-clamp: unset;
}

.suite-edit-cue-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}

.suite-edit-cue-list span {
  padding: 5px 7px;
  border: 1px solid #ded8fa;
  border-radius: 6px;
  color: #4d446e;
  background: #f7f5ff;
  font-size: 11px;
}

.suite-edit-cue-list b {
  margin-right: 4px;
  color: #5b3fd2;
}

.suite-edit-progress {
  height: 6px;
  margin: 8px 0;
  overflow: hidden;
  border-radius: 6px;
  background: #e7eaf1;
}

.suite-edit-progress i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: #6f4ee8;
  transition: width .2s ease;
}

@media (max-width: 1000px) {
  .suite-edit-layout {
    grid-template-columns: 1fr;
  }

  .suite-edit-summary {
    width: min(100%, 360px);
    box-sizing: border-box;
    justify-self: center;
  }

  .suite-edit-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .suite-edit-test-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .suite-edit-style-grid {
    grid-template-columns: 1fr;
  }

  .suite-edit-control-grid {
    grid-template-columns: 1fr;
  }

  .suite-edit-template-fields {
    grid-template-columns: 1fr;
  }

  .suite-edit-summary ul,
  .suite-edit-summary-note,
  .suite-edit-plan-title {
    display: none;
  }

  .suite-edit-task {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }

  .suite-edit-preview {
    width: 72px;
  }

  .suite-edit-task > .suite-digital-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .suite-edit-task > .suite-digital-actions > * {
    flex: 1 1 auto;
  }

  .suite-edit-recognize-row {
    align-items: stretch;
    flex-direction: column;
  }
}

/* 课程编辑器需要比通用弹窗更宽，避免双列表单被 560px 的通用限宽截断。 */
dialog.admin-course-dialog {
  width: min(900px, calc(100vw - 32px));
  max-width: 900px;
  padding: 0;
  overflow: hidden;
}

.admin-course-dialog .admin-course-editor {
  width: 100%;
  max-width: none;
  max-height: min(90vh, 900px);
  padding: 0 24px 24px;
  overflow-x: hidden;
  overflow-y: auto;
}

.admin-course-dialog .dialog-head {
  top: 0;
  margin: 0 -24px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
}

.admin-course-dialog .admin-course-fields {
  min-width: 0;
}

.admin-course-dialog .admin-course-fields > label {
  min-width: 0;
  margin-top: 0;
}

.admin-course-dialog input,
.admin-course-dialog textarea,
.admin-course-dialog select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.admin-course-dialog .dialog-actions {
  position: sticky;
  bottom: -24px;
  z-index: 4;
  margin: 18px -24px -24px;
  padding: 14px 24px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 620px) {
  dialog.admin-course-dialog {
    width: calc(100vw - 16px);
    max-width: none;
  }

  .admin-course-dialog .admin-course-editor {
    max-height: calc(100vh - 16px);
    padding-right: 14px;
    padding-left: 14px;
  }

  .admin-course-dialog .dialog-head {
    margin-right: -14px;
    margin-left: -14px;
    padding: 16px 14px 12px;
  }

  .admin-course-dialog .dialog-head h2 {
    font-size: 24px;
  }

  .admin-course-dialog .dialog-actions {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .admin-course-dialog .dialog-actions button {
    flex: 1;
  }
}
/* 代理模式 */
.agency-heading {
  align-items: flex-end;
}

.agency-share-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  margin-bottom: 18px;
  color: #fff;
  background: #151515;
  border: 1px solid #151515;
  border-radius: 6px;
}

.agency-share-band div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.agency-share-band span,
.agency-share-band code {
  color: #cfcfcf;
}

.agency-share-band strong {
  font-size: 22px;
}

.agency-share-band code {
  overflow-wrap: anywhere;
}

.agency-stat-grid,
.agency-inventory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.agency-stat-grid {
  margin-bottom: 18px;
}

.agency-stat-grid article,
.agency-inventory article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
}

.agency-stat-grid strong,
.agency-inventory strong {
  font-size: 28px;
  line-height: 1;
}

.agency-stat-grid small,
.agency-stat-grid span,
.agency-inventory span {
  color: #6b6b6b;
}

.agency-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
}

.agency-panel > header {
  margin-bottom: 18px;
}

.agency-panel > header span {
  display: block;
  margin-bottom: 4px;
  color: #777;
  font-size: 12px;
}

.agency-panel > header h3 {
  margin: 0 0 5px;
}

.agency-panel > header p {
  margin: 0;
  color: #666;
}

.agency-profile-form,
.admin-agency-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.agency-profile-form label,
.admin-agency-fields label,
.agency-user-controls label {
  display: grid;
  gap: 7px;
}

.agency-profile-form .wide,
.admin-agency-fields .wide,
.agency-user-controls .wide {
  grid-column: 1 / -1;
}

.agency-profile-form > button {
  justify-self: start;
}

.agency-qr-control,
.admin-agency-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agency-qr-control img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.agency-qr-control input,
.admin-agency-upload-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.agency-inventory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.agency-invite-create {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 180px) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.agency-code-list,
.agency-user-list,
.admin-agency-list {
  display: grid;
  gap: 10px;
}

.agency-code-list > article,
.agency-user-list > article,
.admin-agency-row {
  padding: 16px;
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #fafafa;
}

.agency-code-list > article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.agency-code-list > article > div {
  display: grid;
  gap: 4px;
}

.agency-code-list > article > div:last-child {
  display: flex;
  grid-auto-flow: column;
}

.agency-code-list button,
.agency-user-list button {
  min-height: 38px;
}

.agency-code-list .danger {
  color: #9e1c1c;
}

.agency-user-list > article > header,
.admin-agency-row > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.agency-user-list > article > header div,
.admin-agency-row > header div {
  display: grid;
  gap: 3px;
}

.agency-user-list dl,
.admin-agency-row dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.agency-user-list dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agency-user-list dl div,
.admin-agency-row dl div {
  padding: 10px;
  border-radius: 6px;
  background: #fff;
}

.agency-user-list dt,
.admin-agency-row dt {
  color: #777;
  font-size: 12px;
}

.agency-user-list dd,
.admin-agency-row dd {
  margin: 4px 0 0;
}

.agency-user-controls {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  gap: 10px;
  align-items: end;
}

.admin-agency-form {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
}

.admin-agency-row > header b {
  padding: 5px 8px;
  border-radius: 6px;
  color: #8a2d2d;
  background: #f4e9e9;
}

.admin-agency-row > header b.is-active {
  color: #17643c;
  background: #e8f4ed;
}

.admin-agency-link {
  padding: 10px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 900px) {
  .agency-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agency-user-controls {
    grid-template-columns: 1fr;
  }

  .agency-user-controls .wide {
    grid-column: auto;
  }

  .admin-agency-row dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .agency-share-band,
  .agency-code-list > article,
  .agency-user-list > article > header,
  .admin-agency-row > header {
    align-items: stretch;
    flex-direction: column;
  }

  .agency-share-band button {
    width: 100%;
  }

  .agency-stat-grid,
  .agency-inventory,
  .agency-profile-form,
  .admin-agency-fields {
    grid-template-columns: 1fr;
  }

  .agency-profile-form .wide,
  .admin-agency-fields .wide {
    grid-column: auto;
  }

  .agency-panel {
    padding: 16px;
  }

  .agency-invite-create {
    grid-template-columns: 1fr;
  }

  .agency-qr-control,
  .admin-agency-upload-row {
    align-items: stretch;
    flex-direction: column;
  }

  .agency-user-list dl,
  .admin-agency-row dl {
    grid-template-columns: 1fr;
  }
}
html, body {
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

.suite-subtitle-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111827;
}

.suite-subtitle-dialog::backdrop {
  background: rgba(15, 23, 42, 0.62);
}

.suite-subtitle-dialog-panel {
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d7dce5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.24);
}

.suite-subtitle-dialog-panel > header,
.suite-subtitle-dialog-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e4e7ec;
}

.suite-subtitle-dialog-panel > header h3,
.suite-subtitle-dialog-panel > header p {
  margin: 0;
}

.suite-subtitle-dialog-panel > header small {
  color: #6d4aff;
  font-weight: 700;
}

.suite-subtitle-dialog-panel > header p {
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
}

.suite-subtitle-dialog-panel > footer {
  justify-content: flex-end;
  border-top: 1px solid #e4e7ec;
  border-bottom: 0;
}

.suite-subtitle-dialog-panel > footer button {
  min-width: 112px;
}

.suite-subtitle-dialog-preview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: #111522;
  color: #fff;
}

.suite-subtitle-dialog-preview video {
  width: 180px;
  height: 102px;
  object-fit: contain;
  background: #020617;
  border-radius: 6px;
}

.suite-subtitle-dialog-preview div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.suite-subtitle-dialog-preview strong {
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.suite-subtitle-dialog-preview span {
  color: #c4b5fd;
  font-size: 13px;
}

.suite-subtitle-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 20px;
  background: #f7f8fb;
  border-bottom: 1px solid #e4e7ec;
}

.suite-subtitle-toolbar span {
  color: #667085;
  font-size: 13px;
}

.suite-subtitle-table-head,
.suite-subtitle-segment {
  display: grid;
  grid-template-columns: 44px minmax(240px, 1fr) 92px 92px minmax(250px, auto);
  align-items: center;
  gap: 10px;
}

.suite-subtitle-table-head {
  padding: 10px 20px;
  color: #667085;
  background: #fff;
  border-bottom: 1px solid #e4e7ec;
  font-size: 12px;
  font-weight: 700;
}

.suite-subtitle-segment-list {
  min-height: 180px;
  overflow: auto;
  padding: 0 20px;
}

.suite-subtitle-segment {
  position: relative;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f4;
}

.suite-subtitle-segment > b {
  color: #6d4aff;
  font-size: 13px;
}

.suite-subtitle-segment textarea,
.suite-subtitle-segment input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd5df;
  border-radius: 6px;
  background: #fff;
  color: #111827;
}

.suite-subtitle-segment textarea {
  min-height: 58px;
  padding: 9px 10px;
  resize: vertical;
  line-height: 1.5;
}

.suite-subtitle-segment label {
  display: grid;
  gap: 4px;
}

.suite-subtitle-segment label span {
  display: none;
  color: #667085;
  font-size: 11px;
}

.suite-subtitle-segment input {
  height: 38px;
  padding: 0 8px;
}

.suite-subtitle-segment > small {
  display: none;
}

.suite-subtitle-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.suite-subtitle-row-actions button,
.suite-subtitle-dialog .suite-icon-button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #cfd5df;
  border-radius: 6px;
  background: #fff;
  color: #344054;
  cursor: pointer;
}

.suite-subtitle-row-actions .suite-icon-button,
.suite-subtitle-dialog-panel > header .suite-icon-button {
  width: 36px;
  min-width: 36px;
  padding: 0;
  font-size: 18px;
}

.suite-subtitle-row-actions button:hover:not(:disabled),
.suite-subtitle-dialog .suite-icon-button:hover:not(:disabled) {
  border-color: #6d4aff;
  color: #5b35eb;
  background: #f5f2ff;
}

.suite-subtitle-row-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.suite-subtitle-row-actions button.danger {
  color: #b42318;
  border-color: #f2b8b5;
}

@media (max-width: 760px) {
  .suite-subtitle-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .suite-subtitle-dialog-panel {
    max-height: calc(100vh - 16px);
  }

  .suite-subtitle-dialog-panel > header,
  .suite-subtitle-dialog-panel > footer,
  .suite-subtitle-toolbar {
    padding: 12px;
  }

  .suite-subtitle-dialog-panel > header p {
    display: none;
  }

  .suite-subtitle-dialog-preview {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
  }

  .suite-subtitle-dialog-preview video {
    width: 112px;
    height: 72px;
  }

  .suite-subtitle-dialog-preview strong {
    font-size: 14px;
  }

  .suite-subtitle-table-head {
    display: none;
  }

  .suite-subtitle-segment-list {
    padding: 0 12px;
  }

  .suite-subtitle-segment {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }

  .suite-subtitle-segment textarea,
  .suite-subtitle-row-actions,
  .suite-subtitle-segment > small {
    grid-column: 2;
  }

  .suite-subtitle-segment label {
    grid-column: 2;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
  }

  .suite-subtitle-segment label span,
  .suite-subtitle-segment > small {
    display: block;
  }

  .suite-subtitle-row-actions {
    justify-content: flex-start;
  }

  .suite-subtitle-dialog-panel > footer button {
    flex: 1;
    min-width: 0;
  }
}

/* 智能成片 */
.suite-studio-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  background: #f5f7fa;
}

.suite-studio-nav button {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #596273;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.suite-studio-nav button:hover {
  border-color: #b9c0cc;
  background: #fff;
  color: #111827;
  transform: translateY(-1px);
}

.suite-studio-nav button.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.suite-studio-nav button > em {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 3px;
  color: #5a3a00;
  background: #ffd85a;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.suite-studio-nav b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #d9ff57;
  color: #111827;
  font-size: 11px;
}

.suite-studio-nav span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.suite-studio-heading {
  padding: 22px 24px;
  border-left: 5px solid #d9ff57;
  background: linear-gradient(90deg, #f4f7fb 0, #fff 68%);
}

.suite-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: start;
  gap: 18px;
}

.suite-studio-form {
  min-width: 0;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  background: #fff;
}

.suite-studio-form > section {
  padding: 22px;
  border-bottom: 1px solid #e5e8ee;
}

.suite-studio-form > section > header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.suite-studio-form > section > header > b {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #111827;
  color: #d9ff57;
  font-size: 12px;
}

.suite-studio-form h3,
.suite-publish-copy h3,
.suite-publish-platforms h3,
.suite-publish-records h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
}

.suite-studio-form header p,
.suite-publish-platforms header p {
  margin: 4px 0 0;
  color: #697386;
  font-size: 13px;
  line-height: 1.55;
}

.suite-studio-form label,
.suite-publish-copy label,
.suite-publish-video label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: #232b39;
  font-size: 13px;
  font-weight: 700;
}

.suite-studio-form label > em {
  color: #d23f31;
  font-size: 11px;
  font-style: normal;
}

.suite-studio-form label > small {
  color: #697386;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.suite-studio-script-preview {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid #cbd1db;
  border-left: 4px solid #9bc21c;
  border-radius: 6px;
  background: #f8faef;
}

.suite-studio-script-preview strong,
.suite-studio-script-preview p,
.suite-studio-script-preview small {
  display: block;
}

.suite-studio-script-preview strong {
  color: #111827;
  font-size: 13px;
}

.suite-studio-script-preview p {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0;
  color: #3f4858;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.suite-studio-script-preview small {
  color: #627026;
  font-size: 11px;
  line-height: 1.45;
}

.suite-studio-form input,
.suite-studio-form select,
.suite-studio-form textarea,
.suite-publish-copy input,
.suite-publish-copy textarea,
.suite-publish-video select {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid #cbd1db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font: inherit;
}

.suite-studio-form input,
.suite-studio-form select,
.suite-publish-copy input,
.suite-publish-video select {
  padding: 0 12px;
}

.suite-studio-form textarea,
.suite-publish-copy textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
  line-height: 1.65;
}

.suite-studio-form input:focus,
.suite-studio-form select:focus,
.suite-studio-form textarea:focus,
.suite-publish-copy input:focus,
.suite-publish-copy textarea:focus {
  border-color: #111827;
  outline: 3px solid rgba(217, 255, 87, .42);
}

.suite-studio-upload-note {
  margin: 10px 0 0;
  color: #566174;
  font-size: 12px;
}

.suite-studio-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.suite-studio-style-grid label {
  margin: 0;
  cursor: pointer;
}

.suite-studio-style-grid input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.suite-studio-style-grid span {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  background: #f8f9fb;
}

.suite-studio-style-grid strong {
  color: #111827;
  font-size: 14px;
}

.suite-studio-style-grid small {
  color: #697386;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.suite-studio-style-grid input:checked + span {
  border-color: #111827;
  background: #f3ffca;
  box-shadow: inset 4px 0 #111827;
}

.suite-studio-identity {
  margin-top: 10px;
  padding: 12px;
  border-left: 4px solid #d8dde6;
  background: #f8f9fb;
}

.suite-studio-identity.is-recommended {
  border-left-color: #ff705e;
  background: #fff4f1;
}

.suite-studio-template-copy,
.suite-studio-cover-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  background: #f8f9fb;
}

.suite-studio-template-copy > header,
.suite-studio-template-copy > div,
.suite-studio-cover-editor > header,
.suite-studio-cover-editor > button,
.suite-studio-ai-copy-status {
  grid-column: 1 / -1;
}

.suite-studio-cover-editor > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.suite-studio-cover-editor > header strong {
  color: #111827;
  font-size: 14px;
}

.suite-studio-cover-editor > header small {
  color: #697386;
  font-size: 11px;
}

.suite-studio-ai-copy-status {
  color: #5f697b;
  font-size: 11px;
  line-height: 1.5;
}

.suite-studio-template-copy > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.suite-studio-template-copy > header strong,
.suite-studio-template-copy > div > strong {
  color: #111827;
  font-size: 14px;
}

.suite-studio-template-copy > header small {
  color: #697386;
  font-size: 11px;
}

.suite-studio-template-copy > label,
.suite-studio-cover-editor > label,
.suite-studio-template-copy > div > label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.suite-studio-template-copy > label > span,
.suite-studio-cover-editor > label > span,
.suite-studio-template-copy > div > label > span {
  color: #566174;
  font-size: 11px;
  font-weight: 700;
}

.suite-studio-template-copy > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #d8dde6;
}

.suite-studio-template-copy > div > strong {
  grid-column: 1 / -1;
}

.suite-studio-cover-style-grid {
  margin-top: 2px;
}

.suite-studio-advanced {
  border-bottom: 1px solid #e5e8ee;
}

.suite-studio-advanced summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  cursor: pointer;
  list-style: none;
}

.suite-studio-advanced summary::-webkit-details-marker {
  display: none;
}

.suite-studio-advanced summary span {
  display: grid;
  gap: 3px;
}

.suite-studio-advanced summary strong {
  color: #111827;
  font-size: 14px;
}

.suite-studio-advanced summary small {
  color: #697386;
  font-size: 12px;
}

.suite-studio-advanced summary > b {
  color: #4c42da;
  font-size: 12px;
}

.suite-studio-advanced[open] summary > b {
  font-size: 0;
}

.suite-studio-advanced[open] summary > b::after {
  content: "收起";
  font-size: 12px;
}

.suite-studio-advanced > .suite-form-grid {
  padding: 0 22px 22px;
}

.suite-studio-consent {
  margin: 18px 22px 0 !important;
  padding: 12px;
  border: 1px solid #d8dde6;
  background: #f8f9fb;
}

.suite-studio-consent input {
  width: 18px;
  min-height: 18px;
}

.suite-studio-submit {
  width: calc(100% - 44px);
  min-height: 48px;
  margin: 14px 22px 0;
  font-size: 15px;
}

.suite-studio-form > .suite-inline-status {
  margin: 10px 22px 22px;
}

.suite-studio-side {
  position: sticky;
  top: 16px;
  min-width: 0;
  display: grid;
  gap: 14px;
}

.suite-studio-draft-cover {
  padding: 16px;
  border: 1px solid #cfd5df;
  border-radius: 6px;
  background: #fff;
}

.suite-studio-draft-cover > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.suite-studio-draft-cover > header small {
  display: block;
  margin-bottom: 2px;
  color: #6546df;
  font-size: 10px;
  font-weight: 800;
}

.suite-studio-draft-cover > header h3 {
  margin: 0;
  font-size: 16px;
}

.suite-studio-draft-cover > header > span {
  padding: 4px 7px;
  border-radius: 4px;
  background: #111827;
  color: #d9ff57;
  font-size: 10px;
  font-weight: 800;
}

.suite-studio-preview-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 12px;
  padding: 3px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  background: #f1f3f6;
}

.suite-studio-preview-tabs button {
  min-width: 0;
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #5f697b;
  font-size: 12px;
  font-weight: 800;
}

.suite-studio-preview-tabs button.active {
  background: #111827;
  color: #d9ff57;
}

.suite-studio-video-preview {
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid #111827;
  border-radius: 6px;
  background: #151922;
  color: #fff;
}

.suite-studio-preview-media,
.suite-studio-preview-media img,
.suite-studio-preview-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.suite-studio-preview-media img,
.suite-studio-preview-media video {
  object-fit: cover;
}

.suite-studio-preview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .26), transparent 36%, transparent 68%, rgba(0, 0, 0, .42));
}

.suite-studio-preview-media > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #aab3c2;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.suite-studio-video-preview > strong,
.suite-studio-video-preview > span,
.suite-studio-video-preview > em,
.suite-studio-video-preview > i {
  position: absolute;
  z-index: 2;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.suite-studio-video-preview > strong {
  top: 10%;
  right: 10%;
  left: 10%;
  display: grid;
  gap: 2px;
  color: #ffe500;
  text-align: center;
  font-size: 21px;
  line-height: 1.12;
  text-shadow: 0 2px 2px #000, 2px 0 #000, -2px 0 #000;
}

.suite-studio-video-preview > strong > span {
  display: block;
  width: max-content;
  max-width: none;
  margin: 0 auto;
  white-space: nowrap;
  overflow-wrap: normal;
}

.suite-studio-video-preview > span {
  top: 48%;
  left: 7%;
  display: grid;
  max-width: 62%;
  gap: 2px;
  padding: 7px 9px;
  border-left: 4px solid #fff;
  background: rgba(13, 18, 28, .82);
}

.suite-studio-video-preview > span b {
  color: #fff;
  font-size: 14px;
}

.suite-studio-video-preview > span small {
  color: #fff;
  font-size: 10px;
}

.suite-studio-video-preview > em {
  top: 31%;
  left: 6%;
  max-width: 80%;
  padding: 8px 10px;
  border-radius: 4px;
  background: rgba(12, 18, 30, .9);
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.suite-studio-video-preview > i {
  right: 8%;
  bottom: 20%;
  left: 8%;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 2px 3px #000, 1px 0 #000, -1px 0 #000;
}

.suite-studio-video-preview[data-template="client"] > strong span:nth-child(2) {
  color: #ffe500;
  font-size: 1.12em;
}

.suite-studio-video-preview[data-template="knowledge"] > strong {
  right: 34%;
  left: 6%;
  padding: 7px;
  background: rgba(12, 18, 30, .72);
  color: #fff;
  text-align: left;
  font-size: 20px;
}

.suite-studio-video-preview[data-template="local"] > strong {
  top: 6%;
  gap: 3px;
  color: #fff;
  font-size: 17px;
  text-shadow: none;
}

.suite-studio-video-preview[data-template="local"] > strong span {
  padding: 4px 7px;
}

.suite-studio-video-preview[data-template="local"] > strong span:nth-child(1) {
  background: #ef2a2a;
}

.suite-studio-video-preview[data-template="local"] > strong span:nth-child(2) {
  background: rgba(0, 0, 0, .82);
}

.suite-studio-video-preview[data-template="local"] > strong span:nth-child(3) {
  background: #ffe600;
  color: #111;
}

.suite-studio-video-preview[data-template="daily"] > strong {
  top: 7%;
  gap: 1px;
  color: #45f5c7;
  font-size: 19px;
  line-height: 1.08;
  text-shadow: 0 2px 2px #000, 2px 0 1px #000, -2px 0 1px #000;
}

.suite-studio-video-preview[data-template="daily"] > strong span:nth-child(1) {
  font-size: .92em;
}

.suite-studio-video-preview[data-template="daily"] > strong span:nth-child(2) {
  color: #fff;
  font-size: .72em;
}

.suite-studio-video-preview[data-template="daily"] > i {
  font-size: 14px;
  text-shadow: 0 2px 2px #000, 1px 0 2px #000, -1px 0 2px #000;
}

.suite-studio-cover-candidates {
  margin-top: 12px;
}

.suite-studio-cover-candidates > header {
  display: grid;
  gap: 3px;
  margin-bottom: 8px;
}

.suite-studio-cover-candidates > header strong {
  color: #111827;
  font-size: 12px;
}

.suite-studio-cover-candidates > header small {
  color: #697386;
  font-size: 10px;
  line-height: 1.45;
}

.suite-studio-cover-candidates > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.suite-studio-cover-candidates button {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #111827;
  aspect-ratio: 9 / 14;
}

.suite-studio-cover-candidates button.active {
  border-color: #9bc21c;
  box-shadow: 0 0 0 2px rgba(155, 194, 28, .24);
}

.suite-studio-cover-candidates img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suite-studio-cover-candidates button span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  padding: 3px 2px;
  border-radius: 3px;
  background: rgba(3, 7, 18, .78);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}

.suite-studio-draft-cover > p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 11px;
  line-height: 1.6;
}

.suite-studio-cover-canvas {
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid #111827;
  border-radius: 6px;
  background: #151922;
  box-shadow: inset 0 -180px 0 rgba(0, 0, 0, .36);
  color: #fff;
}

.suite-studio-cover-media,
.suite-studio-cover-media img,
.suite-studio-cover-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.suite-studio-cover-media img,
.suite-studio-cover-media video {
  object-fit: cover;
}

.suite-studio-cover-media > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #aab3c2;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.suite-studio-cover-canvas::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: rgba(3, 7, 18, .68);
}

.suite-studio-cover-canvas > .suite-cover-kicker,
.suite-studio-cover-canvas > .suite-cover-title,
.suite-studio-cover-canvas > .suite-cover-side,
.suite-studio-cover-canvas > .suite-cover-footer {
  position: absolute;
  z-index: 2;
  overflow-wrap: anywhere;
  letter-spacing: 0;
  line-height: 1.12;
  font-style: normal;
  text-shadow: 0 2px 3px #000, 1px 0 1px #000, -1px 0 1px #000;
}

.suite-studio-cover-canvas > .suite-cover-title,
.suite-edit-cover-frame-preview > .suite-cover-title {
  overflow: hidden;
  overflow-wrap: normal;
  white-space: pre-line;
  word-break: keep-all;
}

.suite-studio-cover-canvas > .suite-cover-title { font-size: 32px; font-weight: 950; text-align: center; }
.suite-studio-cover-canvas > .suite-cover-kicker { font-size: 13px; font-weight: 900; }
.suite-studio-cover-canvas > .suite-cover-side { font-size: 20px; font-weight: 950; text-align: center; }
.suite-studio-cover-canvas > .suite-cover-footer { font-size: 23px; font-weight: 950; text-align: center; }

.suite-studio-cover-editor > .suite-cover-ai-summary {
  grid-column: 1 / -1;
  margin: 0;
}

.suite-studio-cover-canvas::before,
.suite-edit-cover-frame-preview::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"]::after,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] .suite-edit-cover-preview-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.02) 43%, rgba(0,0,0,.82));
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-title {
  top: 3%;
  right: 3%;
  left: 3%;
  color: #e61f26;
  -webkit-text-stroke: 2px #fff;
  text-shadow: 0 3px 0 #171717;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-side {
  top: 29%;
  right: 4%;
  width: 32%;
  color: #ffe31d;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-kicker {
  right: 5%;
  bottom: 25%;
  left: 5%;
  color: #ffe31d;
  text-align: center;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-footer {
  right: 5%;
  bottom: 5%;
  left: 5%;
  color: #fff;
}

.suite-studio-cover-canvas[data-cover-style="floating-type"]::after,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] .suite-edit-cover-preview-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.01) 50%, rgba(0,0,0,.72));
}

.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-title {
  top: 3%;
  right: 4%;
  left: 4%;
  color: #fff;
  font-size: 34px;
}

.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-side {
  top: 29%;
  right: 5%;
  max-height: 40%;
  color: #6ee8e2;
  font-size: 25px;
  writing-mode: vertical-rl;
}

.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-kicker {
  bottom: 24%;
  left: 7%;
  color: #fff;
  transform: rotate(-8deg);
}

.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-footer {
  right: 4%;
  bottom: 4%;
  left: 4%;
  color: #6ee8e2;
  font-size: 27px;
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"]::before,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"]::before {
  inset: 0;
  border: 8px solid #ffe000;
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"]::after,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] .suite-edit-cover-preview-media::after {
  background: linear-gradient(180deg, rgba(255,224,0,.08), rgba(0,0,0,0) 55%, rgba(255,224,0,.9) 76%, #ffe000);
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-kicker {
  top: 3%;
  left: 4%;
  padding: 5px 7px;
  color: #111;
  background: #ffe000;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-side {
  top: 4%;
  right: 5%;
  color: #151820;
  font-size: 13px;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-title {
  right: 8%;
  bottom: 13%;
  left: 8%;
  max-height: 2.15em;
  color: #1265a9;
  font-size: 25px;
  line-height: 1.04;
  text-shadow: 0 2px 0 rgba(255,255,255,.65);
}

.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-footer {
  right: 7%;
  bottom: 3%;
  left: 7%;
  color: #1265a9;
  font-size: 13px;
  font-weight: 800;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="clean-label"]::after,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] .suite-edit-cover-preview-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,0) 55%, rgba(0,0,0,.7));
}

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-kicker {
  top: 3%;
  left: 3%;
  padding: 5px 7px;
  color: #111;
  background: #efff31;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-side {
  right: 5%;
  bottom: 26%;
  padding: 4px 7px;
  color: #fff;
  background: #2469b3;
  font-size: 13px;
  text-shadow: none;
}

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-title {
  right: 8%;
  bottom: 11%;
  left: 8%;
  max-height: 2.15em;
  color: #dff52e;
  font-size: 25px;
  line-height: 1.04;
}

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-footer {
  right: 6%;
  bottom: 3%;
  left: 6%;
  color: #62aaf4;
  font-size: 13px;
  font-weight: 800;
}

.suite-studio-empty,
.suite-studio-pipeline {
  overflow: hidden;
  border: 1px solid #111827;
  border-radius: 6px;
  background: #111827;
  color: #fff;
}

.suite-studio-empty {
  padding: 28px;
}

.suite-studio-empty > span {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 4px;
  background: #d9ff57;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
}

.suite-studio-empty h3 {
  margin: 18px 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.suite-studio-empty p {
  margin: 0;
  color: #b9c2d0;
  line-height: 1.65;
}

.suite-studio-empty ol {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.suite-studio-empty li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #edf1f7;
  font-size: 13px;
}

.suite-studio-empty li b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #667085;
  border-radius: 50%;
  font-size: 11px;
}

.suite-studio-pipeline > header,
.suite-studio-pipeline > footer,
.suite-studio-pipeline-copy,
.suite-studio-progress {
  padding-right: 20px;
  padding-left: 20px;
}

.suite-studio-pipeline > header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #303846;
}

.suite-studio-pipeline > header span {
  color: #d9ff57;
  font-size: 12px;
  font-weight: 800;
}

.suite-studio-pipeline > header time {
  color: #98a2b3;
  font-size: 11px;
}

.suite-studio-cover-preview {
  position: relative;
  margin: 0;
  background: #05070a;
}

.suite-studio-pipeline video {
  width: 100%;
  max-height: 52vh;
  display: block;
  background: #05070a;
  object-fit: contain;
}

.suite-studio-cover-preview figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #303846;
  color: #fff;
}

.suite-studio-cover-preview figcaption b {
  color: #d9ff57;
  font-size: 12px;
}

.suite-studio-cover-preview figcaption span,
.suite-studio-cover-preview figcaption small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.suite-studio-cover-preview figcaption span {
  font-size: 12px;
  font-weight: 700;
}

.suite-studio-cover-preview figcaption small {
  color: #98a2b3;
  font-size: 10px;
  text-align: right;
}

.suite-studio-processing {
  position: relative;
  height: 150px;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #151b25 0 12px, #111620 12px 24px);
}

.suite-studio-processing::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  height: 5px;
  border-radius: 3px;
  background: #343d4b;
}

.suite-studio-processing i {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 18px;
  width: calc((100% - 36px) * var(--progress) / 100);
  height: 5px;
  border-radius: 3px;
  background: #d9ff57;
}

.suite-studio-processing strong {
  font-size: 32px;
}

.suite-studio-pipeline-copy {
  padding-top: 18px;
}

.suite-studio-pipeline-copy small {
  color: #ff9d8f;
  font-size: 11px;
}

.suite-studio-pipeline-copy h3 {
  margin: 5px 0;
  font-size: 18px;
  line-height: 1.4;
}

.suite-studio-pipeline-copy p {
  margin: 0;
  color: #b9c2d0;
  font-size: 12px;
  line-height: 1.55;
}

.suite-studio-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 18px 0;
  padding-top: 0;
  padding-bottom: 0;
  list-style: none;
}

.suite-studio-progress li {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #717c8d;
  font-size: 10px;
  text-align: center;
}

.suite-studio-progress b {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid #485365;
  border-radius: 50%;
}

.suite-studio-progress li.done,
.suite-studio-progress li.active {
  color: #fff;
}

.suite-studio-progress li.done b {
  border-color: #d9ff57;
  background: #d9ff57;
  color: #111827;
}

.suite-studio-progress li.active b {
  border-color: #ff705e;
  color: #ff9d8f;
}

.suite-studio-pipeline > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0;
  padding-bottom: 20px;
}

.suite-studio-pipeline > footer button {
  flex: 1;
  min-width: 0;
}

.suite-studio-pipeline.is-failed {
  border-color: #d84d3e;
}

.suite-publish-layout {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: 18px;
}

.suite-publish-video,
.suite-publish-copy,
.suite-publish-platforms,
.suite-publish-records {
  border: 1px solid #d8dde6;
  border-radius: 6px;
  background: #fff;
}

.suite-publish-video {
  overflow: hidden;
  padding-bottom: 18px;
}

.suite-publish-video video {
  width: 100%;
  max-height: 440px;
  display: block;
  background: #080b11;
  object-fit: contain;
}

.suite-publish-video label,
.suite-publish-video button,
.suite-publish-video > small {
  margin-right: 18px;
  margin-left: 18px;
}

.suite-publish-video > small {
  display: block;
  margin-top: 10px;
  color: #d23f31;
  line-height: 1.5;
}

.suite-publish-copy {
  padding: 20px;
}

.suite-publish-copy > header,
.suite-publish-platforms > header,
.suite-publish-records > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.suite-publish-copy > header small,
.suite-publish-platforms > header small,
.suite-publish-records > header small {
  color: #4c42da;
  font-size: 10px;
  font-weight: 800;
}

.suite-publish-platforms,
.suite-publish-records {
  margin-top: 18px;
  padding: 20px;
}

.suite-publish-platforms > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.suite-publish-platforms article {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e1e5eb;
  border-radius: 6px;
  background: #f8f9fb;
}

.suite-publish-platforms article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #111827;
  color: #d9ff57;
  font-weight: 800;
}

.suite-publish-platforms article > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.suite-publish-platforms article strong {
  color: #111827;
  font-size: 13px;
}

.suite-publish-platforms article small {
  color: #8a4550;
  font-size: 11px;
}

.suite-publish-records > div {
  display: grid;
  gap: 7px;
}

.suite-publish-records article {
  min-width: 0;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 130px 170px;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid #e5e8ee;
  color: #596273;
  font-size: 12px;
}

.suite-publish-records article strong {
  color: #111827;
}

.suite-publish-records article span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suite-publish-records article em {
  color: #23705a;
  font-style: normal;
}

@media (max-width: 1050px) {
  .suite-studio-layout,
  .suite-publish-layout {
    grid-template-columns: 1fr;
  }

  .suite-studio-side {
    position: static;
  }

  .suite-publish-platforms > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .suite-studio-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suite-studio-nav button {
    min-height: 46px;
  }

  .suite-studio-heading {
    padding: 17px 16px;
  }

  .suite-studio-form > section {
    padding: 17px 14px;
  }

  .suite-studio-style-grid,
  .suite-studio-progress {
    grid-template-columns: 1fr 1fr;
  }

  .suite-studio-template-copy,
  .suite-studio-cover-editor,
  .suite-edit-cover-copy-fields,
  .suite-studio-template-copy > div {
    grid-template-columns: 1fr;
  }

  .suite-studio-template-copy > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .suite-studio-cover-editor > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .suite-studio-cover-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suite-studio-advanced summary {
    padding: 0 14px;
  }

  .suite-studio-advanced > .suite-form-grid {
    padding: 0 14px 16px;
  }

  .suite-studio-consent {
    margin-right: 14px !important;
    margin-left: 14px !important;
  }

  .suite-studio-submit {
    width: calc(100% - 28px);
    margin-right: 14px;
    margin-left: 14px;
  }

  .suite-studio-form > .suite-inline-status {
    margin-right: 14px;
    margin-left: 14px;
  }

  .suite-studio-draft-cover {
    padding: 14px;
  }

  .suite-studio-cover-canvas > strong {
    font-size: 27px;
  }

  .suite-studio-cover-preview figcaption {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .suite-studio-cover-preview figcaption small {
    grid-column: 1 / -1;
    text-align: left;
  }

  .suite-publish-platforms article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .suite-publish-platforms article button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .suite-publish-records article {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .suite-publish-records article em,
  .suite-publish-records article time {
    grid-column: 2;
  }
}

/* 电脑端批量混剪工作台 */
.suite-remix-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.suite-remix-folder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.suite-remix-folder-card {
  min-width: 0;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #d9dee7;
  border-top: 4px solid #111827;
  background: #fff;
  color: #111827;
  text-align: left;
  cursor: pointer;
}

.suite-remix-folder-card:nth-child(1) { border-top-color: #ff6b35; }
.suite-remix-folder-card:nth-child(2) { border-top-color: #1565c0; }
.suite-remix-folder-card:nth-child(3) { border-top-color: #0f9f6e; }
.suite-remix-folder-card:nth-child(4) { border-top-color: #6d28d9; }

.suite-remix-folder-card > b {
  font-size: 17px;
}

.suite-remix-folder-card > small {
  min-height: 38px;
  margin-top: 5px;
  color: #697386;
  line-height: 1.5;
}

.suite-remix-folder-action {
  margin-top: 10px;
  padding: 7px 12px;
  border: 1px solid #c9d0dc;
  background: #f5f7fa;
  color: #202938;
  font-weight: 800;
}

.suite-remix-folder-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.suite-remix-folder-card em {
  width: 100%;
  min-width: 0;
  display: block;
  margin-top: 10px;
  color: #6b7280;
  font-style: normal;
}

.suite-remix-folder-card em strong,
.suite-remix-folder-card em span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suite-remix-folder-card em strong {
  color: #111827;
}

.suite-remix-output-folder {
  font: inherit;
}

.suite-remix-cost {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid #ff6b35;
  background: #fff5ef;
  color: #a73712;
  font-weight: 800;
}

.suite-remix-templates {
  padding-bottom: 20px;
  border-bottom: 1px solid #e1e5ec;
}

.suite-remix-templates h3,
.suite-remix-templates p {
  margin: 4px 0;
}

.suite-remix-templates p {
  color: #667085;
}

.suite-remix-template-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.suite-remix-template-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 2px solid #d9dee7;
  background: #fff;
  cursor: pointer;
}

.suite-remix-template-card.active {
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.14);
}

.suite-remix-template-card input {
  position: absolute;
  opacity: 0;
}

.suite-remix-template-number {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 2px 5px;
  background: #fff;
  color: #111827;
  font-size: 10px;
  font-weight: 900;
}

.suite-remix-template-mini {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 30px 6px 8px;
  overflow: hidden;
  background: #303642;
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.suite-remix-template-mini i {
  max-width: 100%;
  display: inline-block;
  padding: 1px 3px;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suite-remix-template-card > strong {
  font-size: 13px;
}

.suite-remix-template-card > small {
  min-height: 32px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.4;
}

.suite-remix-preview-panel {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 14px;
}

.suite-remix-live-preview {
  padding: 14px;
  background: #111827;
  color: #fff;
}

.suite-remix-live-preview > header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.suite-remix-live-preview > header span {
  font-weight: 900;
}

.suite-remix-live-preview > header em {
  color: #b7ff31;
  font-size: 12px;
  font-style: normal;
}

.suite-remix-preview-canvas {
  position: relative;
  width: min(100%, 306px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #4a5568;
  background: #252b35;
}

.suite-remix-preview-canvas > video,
.suite-remix-preview-canvas > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suite-remix-preview-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #9aa4b4;
  text-align: center;
}

.suite-remix-preview-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.suite-remix-preview-title {
  position: absolute;
  z-index: 2;
  top: 4%;
  right: 5%;
  left: 5%;
  height: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  overflow: hidden;
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
  text-align: center;
}

.suite-remix-preview-line {
  width: max-content;
  max-width: 100%;
  display: inline-block;
  padding: 1px 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  white-space: nowrap;
}

.suite-remix-preview-title.template-yellow-black,
.suite-remix-preview-title.template-yellow-red {
  gap: 4px;
}

.suite-remix-preview-title.template-yellow-black .suite-remix-preview-line,
.suite-remix-preview-title.template-yellow-red .suite-remix-preview-line {
  padding: 1px 5px;
  font-size: 19px;
  line-height: 1.08;
}

.suite-remix-adjustments {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #d8dfeb;
  border-top: 4px solid #16a085;
  background: #fff;
}

.suite-remix-adjustments header h3,
.suite-remix-adjustments header p,
.suite-remix-adjustment-group h4 { margin: 0; }
.suite-remix-adjustments header p { margin-top: 5px; color: #647086; line-height: 1.55; }
.suite-remix-adjustment-group { padding: 14px; border: 1px solid #e2e7ef; background: #f8fafc; }
.suite-remix-adjustment-group h4 { margin-bottom: 12px; font-size: 15px; }
.suite-remix-range-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.suite-remix-range { display: grid; gap: 6px; }
.suite-remix-range > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 750; }
.suite-remix-range output { min-width: 38px; color: #087b66; text-align: right; font-weight: 900; }
.suite-remix-range input { width: 100%; min-height: 24px; margin: 0; padding: 0; accent-color: #16a085; }
.suite-remix-beauty-note { margin: 12px 0 0; color: #647086; font-size: 12px; }

@media (max-width: 1080px) {
  .suite-remix-range-grid { grid-template-columns: 1fr; }
}

.suite-remix-preview-title.template-blue-gold,
.suite-remix-preview-title.template-yellow-profile {
  gap: 0;
}

.suite-remix-preview-title.template-blue-gold .suite-remix-preview-line,
.suite-remix-preview-title.template-yellow-profile .suite-remix-preview-line {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 0.96;
}

.suite-remix-music-library {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d8dfeb;
  border-radius: 6px;
  background: #f8fafc;
}

.suite-remix-music-library strong,
.suite-remix-music-library p { margin: 0; }
.suite-remix-music-library p { margin-top: 4px; color: #647086; line-height: 1.55; }
.suite-remix-music-library > span { grid-column: 1 / -1; color: #334155; font-size: 13px; font-weight: 750; }
.suite-remix-music-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.suite-remix-preview-canvas > small {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
}

.template-yellow-black .line-1,
.suite-remix-template-mini.template-yellow-black i:nth-child(1),
.template-yellow-red .line-1,
.suite-remix-template-mini.template-yellow-red i:nth-child(1) {
  color: #ffeb00;
  text-shadow: -1.5px -1.5px 0 #111, 1.5px -1.5px 0 #111, -1.5px 1.5px 0 #111, 1.5px 1.5px 0 #111;
}

.template-yellow-black .line-2,
.template-yellow-red .line-2,
.suite-remix-template-mini.template-yellow-black i:nth-child(2),
.suite-remix-template-mini.template-yellow-red i:nth-child(2) {
  color: #111;
  background: #ffe600;
  text-shadow: none;
}

.template-yellow-black .line-3,
.suite-remix-template-mini.template-yellow-black i:nth-child(3) {
  color: #80ffdd;
  background: #101010;
  text-shadow: 1px 1px 0 #000;
}

.template-yellow-red .line-3,
.suite-remix-template-mini.template-yellow-red i:nth-child(3) {
  color: #fff;
  background: #e71d2b;
  text-shadow: 1px 1px 0 #111;
}

.template-blue-gold .suite-remix-preview-line:nth-child(odd),
.suite-remix-template-mini.template-blue-gold i:nth-child(odd) {
  color: #ffd52f;
}

.template-blue-gold .suite-remix-preview-line,
.suite-remix-template-mini.template-blue-gold i {
  color: #fff;
  text-shadow: -2px -2px 0 #143b75, 2px -2px 0 #143b75, -2px 2px 0 #143b75, 2px 2px 0 #143b75;
}

.suite-remix-preview-title.template-orange-review {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 40%;
  max-height: 50%;
  box-sizing: border-box;
  gap: 0;
  padding: 6% 5% 3%;
  background: rgba(25, 22, 20, 0.48);
}

.template-orange-review .suite-remix-preview-line,
.suite-remix-template-mini.template-orange-review i {
  padding-top: 0;
  padding-bottom: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  text-shadow: -1px -1px 0 #17120e, 1px -1px 0 #17120e, -1px 1px 0 #17120e, 1px 1px 0 #17120e, 0 2px 2px rgba(0, 0, 0, 0.72);
}

.template-orange-review .line-3,
.template-orange-review .line-4,
.template-orange-review .line-5,
.template-orange-review .line-6,
.suite-remix-template-mini.template-orange-review i:nth-child(n + 3) {
  color: #ffad27;
}

.suite-remix-template-mini.template-orange-review {
  gap: 0;
  padding: 8px 3px;
  background: linear-gradient(rgba(20, 18, 17, 0.58), rgba(20, 18, 17, 0.58)), #303641;
}

.suite-remix-template-mini.template-orange-review i {
  max-width: 100%;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.04;
  white-space: nowrap;
}

.template-yellow-profile .suite-remix-preview-line,
.suite-remix-template-mini.template-yellow-profile i {
  color: #ffe600;
  font-size: 23px;
  text-shadow: -2px -2px 0 #111, 2px -2px 0 #111, -2px 2px 0 #111, 2px 2px 0 #111;
}

.suite-remix-template-mini.template-yellow-profile i {
  font-size: 12px;
}

.suite-remix-desktop-only {
  max-width: 720px;
  margin: 22px auto;
  padding: 30px;
  border: 1px solid #d9dee7;
  border-top: 5px solid #ff6b35;
  background: #fff;
  text-align: center;
}

.suite-remix-desktop-only b {
  color: #ff6b35;
}

.suite-remix-desktop-only h3 {
  margin: 8px 0;
  font-size: 24px;
}

.suite-remix-desktop-only p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

.suite-remix-download-card .suite-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  text-decoration: none;
}

.suite-remix-download-card > small {
  display: block;
  margin-top: 10px;
  color: #7a8392;
}

@media (max-width: 1180px) {
  .suite-remix-workbench {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .suite-remix-template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .suite-remix-workbench {
    display: none;
  }
}

/* 视频混剪与多平台发布 */
.suite-remix-heading {
  border-left: 4px solid #ff6b35;
  padding-left: 20px;
}

.suite-remix-notice {
  margin: 16px 0;
  padding: 14px 18px;
  border: 1px solid #ffd3bf;
  border-left: 4px solid #ff6b35;
  background: #fff8f4;
}

.suite-remix-notice strong,
.suite-remix-notice p {
  display: block;
  margin: 0;
}

.suite-remix-notice p {
  margin-top: 5px;
  color: #5f6673;
}

.suite-remix-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.suite-remix-form {
  display: grid;
  gap: 20px;
}

.suite-remix-folder,
.suite-remix-settings,
.suite-remix-titles {
  padding-bottom: 20px;
  border-bottom: 1px solid #e1e5ec;
}

.suite-remix-folder h3,
.suite-remix-settings h3,
.suite-remix-titles h3 {
  margin: 4px 0 6px;
}

.suite-remix-folder p,
.suite-remix-titles p {
  margin: 0;
  color: #667085;
}

.suite-remix-folder-button {
  margin-top: 14px;
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px dashed #ff6b35;
  background: #fff8f4;
  color: #c93f13;
  font-weight: 800;
  cursor: pointer;
}

.suite-remix-folder-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.suite-remix-folder-empty {
  margin-top: 10px;
  padding: 12px 0;
}

.suite-remix-folder-empty p {
  margin-top: 4px;
}

.suite-remix-file-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.suite-remix-file-summary span {
  padding: 10px;
  border: 1px solid #dce1e9;
  background: #f7f9fc;
  color: #4e596b;
  text-align: center;
}

.suite-remix-file-summary b {
  display: block;
  color: #111827;
  font-size: 20px;
}

.suite-remix-title-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.suite-remix-submit {
  min-height: 48px;
}

.suite-remix-guide {
  position: sticky;
  top: 82px;
  padding: 22px;
  border: 1px solid #d9dee7;
  background: #111827;
  color: #fff;
}

.suite-remix-guide small {
  color: #b7ff31;
}

.suite-remix-guide h3 {
  margin: 6px 0 18px;
}

.suite-remix-guide ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.suite-remix-guide li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1px 10px;
  padding: 12px 0;
  border-top: 1px solid #303948;
}

.suite-remix-guide li b {
  grid-row: span 2;
  color: #b7ff31;
}

.suite-remix-guide li small {
  color: #aeb7c5;
}

.suite-remix-guide > p {
  margin: 16px 0 0;
  color: #cbd2dc;
  line-height: 1.7;
}

.suite-remix-records {
  margin-top: 20px;
}

.suite-remix-task {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #e1e5ec;
}

.suite-remix-task-preview {
  min-height: 106px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111827;
  color: #b7ff31;
}

.suite-remix-task-preview video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 150px;
  object-fit: cover;
}

.suite-remix-task-copy h4,
.suite-remix-task-copy p {
  margin: 5px 0;
}

.suite-remix-task-copy span,
.suite-remix-task-copy small {
  color: #687386;
}

.suite-publishing-manager {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #d9dee7;
  background: #fff;
}

.suite-publishing-manager > header h3,
.suite-publishing-manager > header p {
  margin: 4px 0;
}

.suite-publishing-manager > header p,
.suite-publishing-bulk p {
  color: #667085;
}

.suite-publishing-account-form {
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 18px 0;
}

.suite-publishing-account-list {
  border-top: 1px solid #e1e5ec;
}

.suite-publishing-account {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e1e5ec;
}

.suite-publishing-account > label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.suite-publishing-account > label span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
}

.suite-publishing-account div small {
  display: block;
  margin-top: 3px;
  color: #7a8494;
}

.suite-publishing-bulk {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  background: #f4f7fb;
  border-left: 4px solid #111827;
}

.suite-publishing-bulk p {
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .suite-remix-layout {
    grid-template-columns: 1fr;
  }

  .suite-remix-guide {
    position: static;
  }

  .suite-publishing-account-form {
    grid-template-columns: 1fr 1fr;
  }

  .suite-publishing-account-form button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .suite-remix-file-summary,
  .suite-remix-title-grid,
  .suite-publishing-account-form {
    grid-template-columns: 1fr;
  }

  .suite-remix-task {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .suite-remix-task .suite-digital-actions {
    grid-column: 1 / -1;
  }

  .suite-publishing-account {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .suite-publishing-account > button {
    grid-column: span 1;
  }

  .suite-publishing-bulk {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .suite-cover-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suite-template-line-grid,
  .suite-edit-cover-copy-fields {
    grid-template-columns: 1fr;
  }

  .suite-cover-style-card > span {
    aspect-ratio: 16 / 9;
  }

  .suite-edit-cover-frame-preview > strong {
    font-size: 25px;
  }
}

/* 封面最终覆盖层放在文件末尾，确保预览与四张参考版式一致。 */
.suite-studio-cover-canvas > .suite-cover-kicker,
.suite-studio-cover-canvas > .suite-cover-title,
.suite-studio-cover-canvas > .suite-cover-side,
.suite-studio-cover-canvas > .suite-cover-footer,
.suite-edit-cover-frame-preview > .suite-cover-kicker,
.suite-edit-cover-frame-preview > .suite-cover-title,
.suite-edit-cover-frame-preview > .suite-cover-side,
.suite-edit-cover-frame-preview > .suite-cover-footer {
  box-sizing: border-box;
  margin: 0;
  font-family: "Microsoft YaHei", "SimHei", sans-serif;
  font-weight: 1000;
  letter-spacing: 0;
}

.suite-studio-cover-canvas[data-cover-style="headline-collage"]::after,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] .suite-edit-cover-preview-media::after { background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.02) 44%, rgba(0,0,0,.12) 62%, rgba(0,0,0,.88)); }
.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-kicker { top: 3%; right: 2%; left: 2%; color: #d4000b; background: transparent; font-size: 38px; line-height: 1; text-align: left; white-space: nowrap; transform: none; -webkit-text-stroke: 0; text-shadow: 3px 4px 0 #171717; }
.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-title { top: 27%; right: 3%; bottom: auto; left: auto; width: 42%; max-height: none; color: #fff20a; font-size: 27px; line-height: 1.03; text-align: center; white-space: nowrap; -webkit-text-stroke: 1px #111; text-shadow: 3px 3px 0 #111; }
.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-title[data-text-length="5"],
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-title[data-text-length="5"] { font-size: 22px; }
.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-title[data-text-length="6"],
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-title[data-text-length="6"] { font-size: 18px; }
.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-side { top: auto; right: 3%; bottom: 22%; left: 3%; width: auto; padding: 0; color: #fff20a; background: transparent; font-size: 18px; line-height: 1.08; text-align: left; writing-mode: horizontal-tb; transform: none; -webkit-text-stroke: 1px #111; text-shadow: 2px 2px 0 #111; }
.suite-studio-cover-canvas[data-cover-style="headline-collage"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="headline-collage"] > .suite-cover-footer { right: 3%; bottom: 10%; left: 3%; color: #fff; font-size: 25px; line-height: 1.04; -webkit-text-stroke: 1px #111; text-shadow: 3px 3px 0 #111; }

.suite-studio-cover-canvas[data-cover-style="floating-type"]::after,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] .suite-edit-cover-preview-media::after { background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.03) 45%, rgba(0,0,0,.08) 61%, rgba(0,0,0,.8)); }
.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-kicker { top: 2%; right: 3%; bottom: auto; left: 3%; color: #fff; background: transparent; font-size: 37px; line-height: 1; text-align: center; white-space: nowrap; transform: rotate(-2deg); -webkit-text-stroke: 1px #efefef; text-shadow: 4px 4px 0 rgba(0,0,0,.68); }
.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-title { top: 27%; right: 3%; bottom: auto; left: auto; width: auto; max-height: 42%; color: #63eee6; font-size: 30px; line-height: 1; writing-mode: vertical-rl; text-orientation: upright; -webkit-text-stroke: 1px rgba(18,55,56,.7); text-shadow: 3px 3px 0 rgba(0,0,0,.55); }
.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-side { top: auto; right: auto; bottom: 26%; left: 6%; max-height: none; padding: 0; color: #fff; background: transparent; font-size: 16px; writing-mode: horizontal-tb; transform: rotate(-9deg); -webkit-text-stroke: 1px rgba(0,0,0,.65); }
.suite-studio-cover-canvas[data-cover-style="floating-type"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="floating-type"] > .suite-cover-footer { right: 3%; bottom: 9%; left: 3%; color: #63eee6; font-size: 26px; line-height: 1.04; -webkit-text-stroke: 1px #153e3d; text-shadow: 3px 3px 0 rgba(0,0,0,.5); }

.suite-studio-cover-canvas[data-cover-style="yellow-frame"]::before,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"]::before { inset: 0; border: 8px solid #ffe100; }
.suite-studio-cover-canvas[data-cover-style="yellow-frame"]::after,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] .suite-edit-cover-preview-media::after { background: linear-gradient(180deg, rgba(255,225,0,.06), rgba(0,0,0,0) 57%, rgba(255,225,0,.94) 76%, #ffe100 100%); }
.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-kicker { top: 2%; right: auto; bottom: auto; left: 3%; padding: 3px 5px; color: #0756d7; background: #eaff22; font-size: 19px; line-height: 1; white-space: nowrap; transform: none; -webkit-text-stroke: 0; text-shadow: none; }
.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-side { top: 2.5%; right: 4%; bottom: auto; left: auto; width: auto; padding: 0; color: #111; background: transparent; font-size: 15px; writing-mode: horizontal-tb; transform: none; -webkit-text-stroke: 0; text-shadow: none; }
.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-title { top: auto; right: 4%; bottom: 20%; left: 4%; width: auto; max-height: none; color: #00628a; font-size: 31px; line-height: 1; -webkit-text-stroke: 0; text-shadow: none; }
.suite-studio-cover-canvas[data-cover-style="yellow-frame"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="yellow-frame"] > .suite-cover-footer { right: 5%; bottom: 8%; left: 5%; color: #075b7e; font-size: 14px; -webkit-text-stroke: 0; text-shadow: none; }

.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-kicker,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-kicker { top: 3%; right: auto; bottom: auto; left: 3%; padding: 4px 6px; color: #064cb8; background: #dfff25; font-size: 18px; line-height: 1; white-space: nowrap; transform: none; text-shadow: none; }
.suite-studio-cover-canvas[data-cover-style="clean-label"]::after,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] .suite-edit-cover-preview-media::after { background: linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,0) 54%, rgba(0,0,0,.84) 76%, rgba(0,0,0,.94)); }
.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-side,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-side { top: auto; right: 4%; bottom: 31%; left: auto; width: auto; padding: 4px 7px; color: #fff; background: #2168bd; font-size: 14px; line-height: 1; writing-mode: horizontal-tb; transform: none; text-shadow: none; }
.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-title,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-title { top: auto; right: 3%; bottom: 18%; left: 3%; width: auto; max-height: none; color: #dfff25; font-size: 32px; line-height: 1; -webkit-text-stroke: 1px #172132; text-shadow: 3px 3px 0 #172132; }
.suite-studio-cover-canvas[data-cover-style="clean-label"] > .suite-cover-footer,
.suite-edit-cover-frame-preview[data-cover-style="clean-label"] > .suite-cover-footer { right: 4%; bottom: 8%; left: 4%; color: #58a9f6; font-size: 14px; text-shadow: 1px 1px 0 #111; }

.suite-locked-opening > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.suite-locked-opening > header > button {
  flex: 0 0 auto;
  border: 1px solid #d6dce8;
  border-radius: 6px;
  padding: 7px 12px;
  color: #374151;
  background: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.suite-locked-opening > header > button:hover {
  border-color: #111827;
  color: #111827;
}

/* 极速成片与专业剪辑的人名条共用同一套尺寸，确保预览与成片一致。 */
.suite-studio-video-preview > span,
.suite-edit-live-preview > span {
  top: 48%;
  right: auto;
  left: 6%;
  z-index: 4;
  display: flex;
  width: 41%;
  max-width: 41%;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 7px 9px 7px 11px;
  border: 0;
  border-left: 4px solid #fff;
  border-radius: 0;
  background: rgba(13, 18, 28, .82);
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}

.suite-studio-video-preview > span b,
.suite-edit-live-preview > span strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.suite-studio-video-preview > span small,
.suite-edit-live-preview > span small {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

/* 混剪文件夹卡片必须覆盖通用表单label规则 */
.suite-generator .suite-remix-folder-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.suite-generator .suite-remix-folder-card > b,
.suite-generator .suite-remix-folder-card > small,
.suite-generator .suite-remix-folder-card > span,
.suite-generator .suite-remix-folder-card > em {
  display: block;
}
