:root {
  --green: #07c160;
  --green-dark: #05984b;
  --green-soft: #e8f7ef;
  --canvas: #f5f6f7;
  --panel: #ffffff;
  --line: #e4e8eb;
  --editable-border: #d8dde2;
  --editable-focus: rgba(7, 193, 96, 0.28);
  --readonly-bg: #f8f9fa;
  --readonly-border: #edf0f2;
  --text: #1f2329;
  --text-secondary: #4f5965;
  --muted: #87919d;
  --soft-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  --fs-page-title: 24px;
  --fs-section-title: 18px;
  --fs-card-title: 16px;
  --fs-body: 14px;
  --fs-caption: 12px;
  --fs-control: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
}

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

.console {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px 1fr;
}

.onboarding-gate {
  min-height: 100vh;
  padding: 36px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 12% 14%, rgba(7, 193, 96, 0.11), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(20, 36, 28, 0.08), transparent 28%),
    var(--canvas);
}

.onboarding-shell {
  width: min(1120px, 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  padding: 26px;
}

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

.onboarding-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.onboarding-brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(7, 193, 96, 0.1);
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 18px;
}

.onboarding-step {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  min-height: 48px;
  cursor: pointer;
}

.onboarding-step.is-active {
  border-color: #b7eccd;
  background: var(--green-soft);
  color: var(--green);
}

.onboarding-panel {
  display: none;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
}

.onboarding-panel.is-active {
  display: grid;
  align-content: start;
  gap: 20px;
}

.onboarding-panel > div > p {
  margin-top: 8px;
  color: var(--muted);
}

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

.onboarding-sample-form {
  margin-bottom: 0;
}

.onboarding-sample-list {
  display: grid;
  gap: 10px;
}

.onboarding-sample-list .sample-item {
  background: var(--readonly-bg);
}

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

.overlay-card {
  border: 1px solid var(--readonly-border);
  border-radius: 10px;
  background: var(--readonly-bg);
  padding: 14px;
}

.overlay-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-card-title);
}

.overlay-card p,
.overlay-card li {
  color: var(--text-secondary);
  line-height: 1.65;
}

.overlay-card ul {
  margin: 0;
  padding-left: 18px;
}

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

.auth-gate {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  padding: 48px;
}

.auth-hero,
.auth-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--soft-shadow);
}

.auth-hero {
  min-height: 560px;
  position: relative;
  padding: 54px 48px;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.28fr);
  grid-template-rows: 1fr auto;
  column-gap: 46px;
  row-gap: 24px;
  align-items: center;
  overflow: visible;
}

.auth-brand-scene {
  display: grid;
  justify-items: start;
  align-content: center;
  min-height: 392px;
}

.auth-kicker {
  color: var(--green);
  font-size: var(--fs-body);
  font-weight: 800;
}

.auth-hero-logo {
  width: 104px;
  height: 104px;
  margin-top: 28px;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(7, 193, 96, 0.12);
}

.auth-brand-scene h1 {
  margin-top: 28px;
  font-size: 36px;
  line-height: 1.2;
}

.auth-brand-scene p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: var(--fs-body);
}

.auth-visual {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1.28;
  margin: 0;
  justify-self: center;
  border: 1px solid rgba(224, 232, 226, 0.8);
  border-radius: 22px;
  overflow: hidden;
  background: #f8faf8;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.06);
}

.auth-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.86) contrast(0.94) brightness(1.03);
}

.wechat-card {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  width: max-content;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  outline: none;
  cursor: default;
}

.wechat-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--editable-focus);
}

.wechat-card span {
  display: block;
  font-size: var(--fs-caption);
  line-height: 1.2;
}

.wechat-card strong {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: var(--fs-body);
}

.wechat-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  width: 176px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 5;
}

.wechat-popover img {
  width: 150px;
  height: 162px;
  object-fit: cover;
  border-radius: 8px;
  background: white;
}

.wechat-popover p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.wechat-card:hover .wechat-popover,
.wechat-card:focus-within .wechat-popover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.auth-panel {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 4px;
  border-radius: 10px;
  background: #f1f3f5;
}

.auth-tab {
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 10px;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.is-active {
  background: white;
  color: var(--green);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.auth-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 700;
}

.sms-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.auth-hint {
  min-height: 20px;
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.6;
}

.sidebar {
  background: #f8f9fa;
  border-right: 1px solid var(--line);
  padding: 28px 22px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 34px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  box-shadow: 0 8px 18px rgba(7, 193, 96, 0.1);
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 12px;
}

.brand span,
.eyebrow,
.crumb {
  color: var(--muted);
  font-size: var(--fs-caption);
}

.brand strong {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-body);
}

.nav,
.history-list,
.mini-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: var(--fs-control);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
}

.nav-item.is-active {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
}

.sidebar-contact {
  margin-top: 26px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  display: grid;
  gap: 8px;
}

.sidebar-contact img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  border-radius: 8px;
}

.sidebar-contact p {
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.6;
}

.main {
  min-width: 0;
  padding: 30px 36px 48px;
}

.page,
.stage-panel {
  display: none;
}

.page.is-active,
.stage-panel.is-active {
  display: block;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 6px;
  color: var(--text);
  font-size: var(--fs-page-title);
  line-height: 1.25;
}

h2 {
  color: var(--text);
  font-size: var(--fs-section-title);
  line-height: 1.35;
}

h3 {
  color: var(--text);
  font-size: var(--fs-card-title);
  line-height: 1.4;
}

.primary-btn,
.ghost-btn {
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-size: var(--fs-control);
  font-weight: 700;
  cursor: pointer;
}

.primary-btn {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.primary-btn:hover {
  background: var(--green-dark);
}

.primary-btn:disabled,
.ghost-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.ghost-btn {
  background: white;
  color: var(--green);
}

.full {
  width: 100%;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--soft-shadow);
  padding: 20px;
  margin-bottom: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: var(--fs-caption);
  font-weight: 700;
}

.pill.muted {
  background: #f1f3f5;
  color: var(--muted);
}

.flow-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.flow-tab {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: var(--fs-control);
  font-weight: 700;
  cursor: pointer;
}

.flow-tab:disabled,
.flow-tab.is-locked {
  background: #f7f8f9;
  color: #b8bec5;
  cursor: not-allowed;
}

.flow-tab.is-active {
  border-color: #bfe9d2;
  background: var(--green-soft);
  color: var(--green);
}

.run-empty {
  min-height: 128px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: var(--fs-body);
  border: 1px dashed #d4d9dd;
  border-radius: 8px;
  text-align: center;
  padding: 24px;
}

.topic-list {
  display: grid;
  gap: 14px;
}

.topic-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.topic-card.is-top {
  border-color: #aee9c8;
  background: #fbfffc;
}

.topic-card h3 {
  margin-bottom: 8px;
}

.topic-rank {
  display: grid;
  gap: 8px;
  align-content: start;
}

.rank-badge {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 20px;
  font-weight: 800;
}

.topic-card p,
.topic-details {
  color: var(--text-secondary);
  line-height: 1.65;
}

.topic-thesis {
  font-size: var(--fs-body);
}

.topic-details,
.banner-details {
  margin-top: 10px;
}

.topic-details summary,
.banner-details summary,
.sample-details summary,
.feedback-details summary {
  width: fit-content;
  color: var(--green);
  font-size: var(--fs-caption);
  font-weight: 700;
  cursor: pointer;
}

.topic-details p {
  margin-top: 8px;
  font-size: var(--fs-caption);
}

.sample-details {
  margin-top: 10px;
}

.feedback-details {
  margin-top: 10px;
}

.sample-body {
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #f7f8f9;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-wrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  background: #fafafa;
  font-size: var(--fs-caption);
}

.confirm-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.confirm-row label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: var(--fs-caption);
}

input,
select,
textarea {
  border: 1px solid var(--editable-border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: var(--fs-control);
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--editable-focus);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

.editable-field,
.readonly-field {
  display: grid;
  gap: 8px;
}

.editable-field span,
.readonly-field span {
  color: var(--muted);
  font-size: var(--fs-caption);
  font-weight: 700;
}

.editable-field textarea {
  width: 100%;
  min-height: 74px;
  resize: vertical;
  line-height: 1.65;
}

.readonly-field,
.policy-item,
.skill-meta-grid > div {
  border: 1px solid var(--readonly-border);
  border-radius: 8px;
  background: var(--readonly-bg);
}

.article-layout,
.edit-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.33fr) minmax(0, 1fr);
  gap: 18px;
}

.edit-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.side-box {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: #fafafa;
}

.mini-item,
.history-item,
.sample-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

button.mini-item {
  width: 100%;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

button.mini-item:hover {
  border-color: #bfe9d2;
  background: #fbfffc;
}

.mini-item strong,
.history-item strong,
.sample-item strong {
  display: block;
  margin-bottom: 6px;
}

.mini-item p,
.history-item p,
.sample-item p {
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.article-reader {
  min-width: 0;
}

.article-reader h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.article-body {
  max-height: 540px;
  overflow: auto;
  padding: 18px;
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-wrap;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  user-select: text;
  cursor: text;
}

.article-paragraph {
  margin: 0 0 18px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.article-paragraph:last-child {
  margin-bottom: 0;
}

.article-paragraph:hover {
  background: #f2fbf6;
}

.article-paragraph.is-selected {
  background: #e9f9f0;
  box-shadow: inset 0 0 0 1px #99dfb8;
}

.article-body::selection,
.article-editor::selection {
  background: #bdf4d2;
}

.selection-status {
  border: 1px solid #d5efe0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f3fbf6;
  color: var(--text-secondary);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.selection-status.has-selection {
  color: #0f8f4c;
  border-color: #a9e7c2;
  background: #ecfff4;
}

.title-input {
  width: 100%;
  margin-bottom: 12px;
  font-size: var(--fs-section-title);
  font-weight: 700;
}

.article-editor {
  width: 100%;
  min-height: 560px;
  line-height: 1.75;
  resize: vertical;
}

.small-textarea {
  min-height: 110px;
  resize: vertical;
}

.rewrite-preview {
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--text-secondary);
  white-space: pre-wrap;
  line-height: 1.6;
}

.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.banner-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.banner-card.is-selected {
  border-color: #8ddfb3;
  background: #f7fcf9;
}

.banner-card pre {
  max-height: 180px;
  overflow: auto;
  margin: 0;
  border-radius: 8px;
  background: #f5f6f7;
  padding: 10px;
  white-space: pre-wrap;
  color: var(--text-secondary);
  font-size: var(--fs-caption);
}

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

.profile-field {
  border: 1px solid var(--editable-border);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.sample-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.sample-form textarea {
  grid-column: 1 / -1;
  min-height: 120px;
}

.history-item a {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-size: var(--fs-caption);
  font-weight: 700;
  text-decoration: none;
}

.feedback-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.feedback-form textarea {
  grid-column: 1 / -1;
}

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

.policy-item,
.skill-meta-grid > div {
  padding: 12px;
}

.policy-item span,
.skill-meta-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: var(--fs-caption);
}

.policy-item strong,
.skill-meta-grid strong {
  display: block;
  color: var(--text-secondary);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.55;
}

.skill-loop-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 16px;
}

.skill-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.skill-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.skill-card:hover,
.skill-card.is-active {
  border-color: #a8e7c4;
  background: #f8fffb;
}

.skill-card.is-active {
  box-shadow: inset 3px 0 0 var(--green);
}

.skill-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 16px;
}

.skill-card p,
.skill-card small {
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.6;
}

.skill-card p {
  margin-bottom: 8px;
}

.skill-version {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--green-soft);
  color: var(--green);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.skill-detail {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px;
}

.skill-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.skill-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.skill-history {
  margin-bottom: 14px;
  border: 1px solid #d8efe3;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f6fcf8;
}

.skill-history summary {
  width: fit-content;
  color: var(--green);
  font-size: var(--fs-caption);
  font-weight: 800;
  cursor: pointer;
}

.skill-history p {
  margin-top: 8px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.skill-doc {
  max-height: 620px;
  overflow: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fafafa;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-caption);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  border-radius: 10px;
  padding: 12px 14px;
  background: #1f2329;
  color: #fff;
  box-shadow: var(--soft-shadow);
  z-index: 20;
}

.hidden {
  display: none !important;
}

@media (max-width: 1000px) {
  .auth-gate {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .onboarding-gate {
    padding: 16px;
  }

  .onboarding-shell {
    padding: 18px;
  }

  .auth-hero {
    min-height: auto;
    padding: 24px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 18px;
  }

  .auth-brand-scene {
    min-height: auto;
  }

  .auth-hero-logo {
    width: 78px;
    height: 78px;
    margin-top: 18px;
    border-radius: 18px;
  }

  .auth-brand-scene h1 {
    margin-top: 18px;
    font-size: 28px;
  }

  .auth-visual {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
    aspect-ratio: 1.62;
    border-radius: 16px;
  }

  .wechat-card {
    grid-column: 1;
    grid-row: auto;
  }

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

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .main {
    padding: 22px 16px 36px;
  }

  .topbar,
  .onboarding-head,
  .onboarding-grid,
  .overlay-preview,
  .article-layout,
  .edit-layout,
  .banner-grid,
  .profile-form,
  .sample-form,
  .feedback-form,
  .skill-policy,
  .skill-loop-layout,
  .skill-meta-grid {
    grid-template-columns: 1fr;
  }

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

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

  .topic-card {
    grid-template-columns: 1fr;
  }
}
