:root {
  --bg-1: #fbefe7;
  --bg-2: #e6f1ff;
  --card: rgba(255, 255, 255, 0.92);
  --card-strong: rgba(255, 255, 255, 0.98);
  --panel: rgba(248, 250, 252, 0.9);
  --stroke: rgba(148, 163, 184, 0.18);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.06);
  --text: #142033;
  --muted: #667085;
  --muted-soft: #98a2b3;
  --primary: #2563eb;
  --primary-strong: #163ea6;
  --success-bg: rgba(240, 253, 244, 0.92);
  --success-text: #166534;
  --error-bg: rgba(254, 242, 242, 0.92);
  --error-text: #991b1b;
  --info-bg: rgba(239, 246, 255, 0.92);
  --info-text: #1d4ed8;
  --overlay: rgba(15, 23, 42, 0.28);
  --heading: #182338;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.78) 0, transparent 36%),
    radial-gradient(circle at right bottom, rgba(202, 225, 255, 0.42) 0, transparent 28%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
  transition: background .25s ease, color .25s ease;
}
.app-shell { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: 100vh; }
.app-shell.sidebar-collapsed { grid-template-columns: 96px minmax(0, 1fr); }
.sidebar {
  border-right: 1px solid rgba(255,255,255,0.42);
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(255,255,255,0.56), rgba(255,255,255,0.34));
  padding: 26px 22px;
  transition: transform .24s ease, opacity .24s ease, padding .24s ease, background .24s ease;
  z-index: 40;
}
.app-shell.sidebar-collapsed .sidebar { padding-inline: 14px; }
.app-shell.sidebar-collapsed .brand h1,
.app-shell.sidebar-collapsed .brand p,
.app-shell.sidebar-collapsed .side-panel,
.app-shell.sidebar-collapsed .side-nav-item { display: none; }
.app-shell.sidebar-collapsed .brand { justify-content: center; }
.app-shell.sidebar-collapsed .side-nav { justify-items:center; }
.brand { display:flex; gap:14px; align-items:center; margin-bottom:26px; }
.brand-mark { width:56px; height:56px; border-radius:18px; display:grid; place-items:center; background:linear-gradient(135deg,#111827,#2563eb); color:#fff; font-weight:700; font-size:26px; box-shadow:0 18px 40px rgba(37,99,235,0.24); }
.brand h1,.hero-copy h2,.card-head h3,.side-panel h2 { margin:0; }
.brand p,.hero-copy p,.side-panel p,.card-kicker,.field label,.preview-head h4 { margin:0; }
.brand p { color:var(--muted); font-size:13px; margin-top:6px; }
.side-panel,.hero-card,.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow);
  border-radius: 28px;
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.side-panel { padding:18px; margin-bottom:18px; }
.panel-title-row,.card-head,.preview-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.template-list,.draft-list { margin-top:14px; display:grid; gap:12px; }
.side-nav { display:grid; gap:10px; margin-bottom:18px; }
.side-nav-item {
  width:100%;
  min-height:46px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,0.82);
  color:#334155;
  font-weight:700;
  cursor:pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.side-nav-item.active { background:linear-gradient(135deg,#eff6ff,#dbeafe); color:#1d4ed8; border-color:rgba(37,99,235,0.34); }
.template-item,.draft-item {
  padding:14px;
  border-radius:18px;
  background:var(--panel);
  border:1px solid var(--stroke);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .2s ease;
}
.template-item:hover,.draft-item:hover,.quick-card:hover,.title-chip:hover,.asset-item:hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(15,23,42,0.08); }
.template-item.active { border-color:rgba(37,99,235,0.34); background:rgba(239,246,255,0.92); }
.template-item h4,.draft-item h4 { margin:0 0 6px; font-size:15px; }
.template-item p,.draft-item p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.workspace { padding:22px; min-width: 0; }
.workspace-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:18px;
  padding: 10px 0 14px;
  backdrop-filter: blur(10px);
}
.workspace-topbar-left { display:flex; align-items:center; gap:14px; }
.workspace-title { margin:4px 0 0; font-size:26px; line-height:1.2; }
.menu-button {
  width:52px;
  height:52px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background:var(--card-strong);
  display:grid;
  align-content:center;
  gap:5px;
  padding:0 14px;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}
.menu-button span { display:block; height:2px; border-radius:999px; background:#111827; }
.hero-card { padding:30px; display:grid; grid-template-columns:1.2fr 1fr; gap:24px; overflow: hidden; }
.eyebrow,.card-kicker { color:var(--primary); text-transform:uppercase; letter-spacing:.12em; font-size:13px; font-weight:800; }
.hero-copy h2 { margin-top:10px; font-size:clamp(28px,4vw,42px); line-height:1.18; max-width:720px; }
.hero-copy p:last-child { margin-top:12px; font-size:15px; color:var(--muted); line-height:1.8; }
.hero-actions { display:grid; gap:18px; }
.input-stack { display:grid; gap:10px; }
.url-row,.split-actions,.row-two,.card-head-actions { display:grid; grid-template-columns:1fr auto; gap:12px; min-width: 0; }
.quick-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.quick-card,.ghost-button,.primary-button { border:0; border-radius:16px; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.quick-card {
  min-height:68px;
  background:rgba(255,255,255,0.82);
  color:var(--text);
  border:1px solid var(--stroke);
  font-weight:600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.46);
}
.quick-card.active { background:linear-gradient(135deg,#eff6ff,#dbeafe); border-color:rgba(37,99,235,0.38); color:var(--primary-strong); }
.ghost-button { min-height:42px; padding:0 16px; background:var(--panel); color:#334155; border:1px solid var(--stroke); }
.primary-button { min-height:46px; padding:0 18px; background:linear-gradient(135deg,var(--primary),#4f8cff); color:#fff; box-shadow:0 14px 30px rgba(37,99,235,0.2); font-weight:700; }
.primary-button.full { width:100%; }
.primary-button:hover,.ghost-button:hover { transform:translateY(-1px); }
.message-bar { margin:18px 0; min-height:58px; }
.message { padding:16px 18px; border-radius:18px; background:rgba(255,255,255,0.8); border:1px solid var(--stroke); box-shadow:var(--shadow); }
.message.success { background:var(--success-bg); color:var(--success-text); }
.message.error { background:var(--error-bg); color:var(--error-text); }
.message.info { background:var(--info-bg); color:var(--info-text); }
.template-hub-card {
  margin-bottom: 18px;
}
.template-hub-head {
  align-items: flex-start;
}
.template-hub-tools {
  display: grid;
  grid-template-columns: minmax(240px, 280px) auto;
  gap: 10px;
  align-items: center;
}
.template-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.template-showcase-card {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  overflow: hidden;
  background: var(--card-strong);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.template-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
}
.template-showcase-card.active {
  border-color: rgba(37,99,235,0.42);
  box-shadow: 0 20px 44px rgba(37,99,235,0.18);
}
.template-showcase-accent {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
}
.template-showcase-cover {
  min-height: 148px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
}
.template-showcase-preview {
  width: 100%;
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  padding: 14px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}
.template-preview-top {
  width: 42%;
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,0.34);
  margin-bottom: 12px;
}
.template-preview-line {
  width: 76%;
  height: 8px;
  border-radius: 999px;
  background: rgba(148,163,184,0.28);
  margin-bottom: 8px;
}
.template-preview-line.wide {
  width: 92%;
}
.template-preview-block {
  margin-top: 14px;
  height: 42px;
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: rgba(248,250,252,0.96);
}
.template-showcase-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.template-showcase-body h4 {
  margin: 0;
  font-size: 18px;
}
.template-showcase-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}
.template-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.template-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(219,234,254,0.9);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}
.template-pill.muted {
  background: rgba(241,245,249,0.92);
  color: #475467;
}
.template-showcase-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.template-showcase-meta strong {
  color: var(--primary-strong);
  font-size: 12px;
}
.template-showcase-empty {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 22px;
  border: 1px dashed var(--stroke);
  background: var(--panel);
  color: var(--muted);
}
.template-showcase-empty strong {
  color: var(--text);
}
.canvas { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); gap:18px; align-items: start; }
.column { display:grid; gap:18px; align-content:start; }
.card { padding:26px; min-width: 0; overflow: hidden; }
.card-head {
  margin-bottom: 22px;
}
.card-head > div:first-child {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.card-head h3 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--heading);
  font-weight: 800;
}
.preview-head {
  margin-bottom: 14px;
}
.preview-head h4 {
  font-size: 20px;
  line-height: 1.3;
  color: var(--heading);
  font-weight: 800;
}
.article-meta { display:grid; grid-template-columns:220px 1fr; gap:18px; margin-top:18px; }
.cover-wrap {
  background:var(--panel);
  border:1px solid var(--stroke);
  border-radius:24px;
  min-height:220px;
  overflow:hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}
.cover-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.meta-fields,.template-form { display:grid; gap:16px; }
.meta-fields label,
.field label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color:#334155;
}
.field { display:grid; gap:10px; }
input,textarea {
  width:100%;
  min-width: 0;
  border-radius:16px;
  border:1px solid rgba(203,213,225,0.94);
  background:rgba(255,255,255,0.92);
  padding:16px 18px;
  font:inherit;
  font-size: 18px;
  line-height: 1.6;
  color:var(--text);
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:focus,textarea:focus { outline:none; border-color:rgba(37,99,235,0.7); box-shadow:0 0 0 4px rgba(37,99,235,0.12); }
textarea { resize:vertical; min-height:120px; }
.split-actions {
  margin-top: 22px;
  padding-top: 4px;
  grid-template-columns:repeat(2,minmax(0,1fr)) auto;
  align-items:end;
  gap: 18px;
}
.asset-grid { margin-top:16px; display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:14px; }
.asset-item { border-radius:20px; overflow:hidden; background:rgba(255,255,255,0.88); border:1px solid var(--stroke); min-width: 0; }
.asset-item img { width:100%; height:140px; object-fit:cover; display:block; }
.asset-body { padding:12px; display:grid; gap:8px; }
.asset-body p { margin:0; font-size:12px; line-height:1.5; }
.asset-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.title-suggestions { display:grid; gap:12px; margin-top:4px; margin-bottom:16px; }
.title-chip { padding:14px 16px; border-radius:16px; border:1px solid var(--stroke); background:rgba(255,255,255,0.88); cursor:pointer; font-weight:700; font-size:16px; line-height:1.7; text-align:left; }
.title-chip.active { background:rgba(239,246,255,0.95); border-color:rgba(37,99,235,0.42); color:#1d4ed8; }
.body-blocks { display:grid; gap:14px; }
.body-block { border:1px solid var(--stroke); border-radius:20px; background:rgba(250,250,255,0.74); padding:16px; display:grid; gap:12px; min-width:0; }
.body-block-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.body-block-title { font-weight:800; font-size:16px; }
.preview-panel { border-top:1px solid var(--stroke); margin-top:24px; padding-top:24px; min-width:0; }
.output-card .field + .field {
  margin-top: 6px;
}
.article-card .field + .field,
.titles-card .field,
.template-save-card .field {
  margin-top: 6px;
}
.publish-actions {
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.publish-hint {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--muted);
  line-height: 1.8;
  font-size: 13px;
}
.publish-result {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--card-strong);
  box-shadow: var(--shadow-soft);
}
.publish-result.hidden { display: none; }
.publish-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.publish-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.publish-result-item {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  min-width: 0;
}
.publish-result-item.full {
  margin-top: 12px;
}
.publish-result-item span {
  font-size: 12px;
  color: var(--muted);
}
.publish-result-item strong {
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.publish-result-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  margin-right: 10px;
  padding: 0 16px;
  border-radius: 14px;
  background: linear-gradient(135deg,var(--primary),#4f8cff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.publish-result-link.ghost {
  background: var(--panel);
  color: #334155;
  border: 1px solid var(--stroke);
}
.mini-tag { display:inline-flex; align-items:center; min-height:28px; padding:0 10px; border-radius:999px; background:rgba(243,244,246,0.9); color:#4b5563; font-size:12px; font-weight:700; white-space: nowrap; }
.mini-tag.success { background:rgba(220,252,231,0.9); color:#166534; }
.loading-mask { position:fixed; inset:0; background:rgba(255,255,255,0.45); backdrop-filter:blur(6px); display:grid; place-items:center; z-index: 120; }
.loading-mask.hidden { display:none; }
.loading-card { min-width:220px; padding:22px; border-radius:24px; background:rgba(15,23,42,0.9); color:#fff; display:grid; justify-items:center; gap:12px; }
.spinner { width:24px; height:24px; border-radius:999px; border:3px solid rgba(255,255,255,0.28); border-top-color:#fff; animation:spin .8s linear infinite; }
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 30;
}
.view-panel { display:none; }
.view-panel.active { display:block; }
.settings-card { padding:28px; }
.settings-layout { display:grid; grid-template-columns: 1fr minmax(360px, 480px); gap:24px; margin-top:18px; }
.settings-intro h4 { margin:0 0 12px; font-size:28px; line-height:1.25; }
.settings-intro p { margin:0; color:var(--muted); line-height:1.9; }
.settings-tip-card { margin-top:18px; padding:18px; border-radius:22px; border:1px solid var(--stroke); background:var(--panel); }
.settings-tip-card strong { display:block; margin-bottom:8px; }
.settings-tip-card p { margin:0; font-size:14px; }
.settings-form { display:grid; gap:14px; background:rgba(255,255,255,0.78); border:1px solid var(--stroke); border-radius:24px; padding:20px; box-shadow: var(--shadow-soft); }
@keyframes spin { to { transform:rotate(360deg); } }
@media (max-width:1220px) {
  .app-shell,.hero-card,.canvas,.article-meta,.split-actions,.url-row,.settings-layout { grid-template-columns:1fr; }
  .sidebar { padding-bottom:0; }
  .template-hub-tools {
    grid-template-columns: 1fr;
  }
}
@media (max-width:900px) {
  .app-shell {
    display:block;
  }
  .workspace {
    padding: 14px;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(82vw, 320px);
    height: 100vh;
    transform: translateX(-100%);
    opacity: 0;
    overflow-y: auto;
    padding: 18px 16px 32px;
    background: var(--card-strong);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  }
  .app-shell.sidebar-open .sidebar {
    transform: translateX(0);
    opacity: 1;
  }
  .app-shell.sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .quick-grid,.row-two,.asset-actions,.card-head-actions {
    grid-template-columns:1fr;
  }
  .publish-actions,
  .quick-grid,.row-two,.asset-actions,.card-head-actions,
  .publish-result-grid {
    grid-template-columns:1fr;
  }
  .template-showcase {
    grid-template-columns: 1fr;
  }
  .workspace-topbar {
    align-items:flex-start;
    flex-direction:column;
    position: sticky;
    top: 0;
  }
  .workspace-topbar-right {
    width: 100%;
  }
  .workspace-topbar-right .mini-tag {
    width: 100%;
    justify-content: center;
  }
  .hero-card,
  .card,
  .settings-card {
    border-radius: 24px;
    padding: 20px;
  }
  .workspace-title {
    font-size: 22px;
  }
  .card-head h3 {
    font-size: 20px;
  }
  .meta-fields label,
  .field label {
    font-size: 15px;
  }
  input,
  textarea,
  .title-chip {
    font-size: 16px;
  }
  .hero-copy h2 {
    font-size: clamp(24px, 7vw, 34px);
  }
  .article-meta {
    gap: 14px;
  }
  .cover-wrap {
    min-height: 180px;
  }
  .split-actions {
    gap: 10px;
  }
  textarea {
    min-height: 110px;
  }
}

@media (max-width:560px) {
  body {
    font-size: 15px;
  }
  .workspace {
    padding: 12px;
  }
  .workspace-topbar-left {
    width: 100%;
    align-items: flex-start;
  }
  .menu-button {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }
  .hero-actions,
  .template-form,
  .body-blocks,
  .asset-grid {
    gap: 10px;
  }
  .asset-grid {
    grid-template-columns: 1fr 1fr;
  }
  .asset-item img {
    height: 120px;
  }
  .title-chip,
  .ghost-button,
  .primary-button,
  input,
  textarea {
    border-radius: 14px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-1: #0b1220;
    --bg-2: #121c2e;
    --card: rgba(12, 19, 32, 0.88);
    --card-strong: rgba(12, 19, 32, 0.96);
    --panel: rgba(20, 29, 46, 0.92);
    --stroke: rgba(148, 163, 184, 0.18);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.22);
    --text: #e5eefc;
    --muted: #9fb0ca;
    --muted-soft: #7c8aa1;
    --primary: #72a1ff;
    --primary-strong: #c6d8ff;
    --success-bg: rgba(20, 83, 45, 0.36);
    --success-text: #bbf7d0;
    --error-bg: rgba(127, 29, 29, 0.36);
    --error-text: #fecaca;
    --info-bg: rgba(30, 64, 175, 0.36);
    --info-text: #bfdbfe;
    --overlay: rgba(2, 6, 23, 0.56);
  }

  html {
    color-scheme: dark;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(40, 55, 87, 0.55) 0, transparent 34%),
      radial-gradient(circle at right bottom, rgba(31, 67, 135, 0.26) 0, transparent 30%),
      linear-gradient(135deg, var(--bg-1), var(--bg-2));
  }

  .brand-mark {
    background: linear-gradient(135deg, #0f172a, #3667d6);
  }

  .app-shell.sidebar-collapsed .sidebar {
    background: rgba(10, 15, 26, 0.9);
  }

  .sidebar {
    border-right-color: rgba(148, 163, 184, 0.1);
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.8), rgba(10, 15, 26, 0.58));
  }

  .side-panel,
  .hero-card,
  .card,
  .template-item,
  .draft-item,
  .quick-card,
  .ghost-button,
  .menu-button,
  .asset-item,
  .title-chip,
  .body-block,
  .cover-wrap,
  .settings-tip-card,
  .settings-form,
  input,
  textarea,
  .message {
    border-color: rgba(148, 163, 184, 0.12);
  }

  .side-nav-item,
  .template-item,
  .draft-item,
  .quick-card,
  .ghost-button,
  .menu-button,
  .asset-item,
  .title-chip,
  .body-block,
  .cover-wrap,
  .settings-tip-card,
  .settings-form {
    background: var(--panel);
  }

  .template-item.active,
  .title-chip.active,
  .quick-card.active,
  .side-nav-item.active,
  .template-showcase-card.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(96, 165, 250, 0.16));
    color: #d7e5ff;
  }

  .template-item:hover,
  .draft-item:hover,
  .quick-card:hover,
  .title-chip:hover,
  .asset-item:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  }

  .menu-button span {
    background: #dbeafe;
  }

  .field label,
  .template-item p,
  .draft-item p,
  .template-showcase-body p,
  .template-showcase-meta,
  .hero-copy p:last-child,
  .settings-intro p,
  .settings-tip-card p,
  .asset-body p,
  .brand p {
    color: var(--muted);
  }

  .card-head h3,
  .preview-head h4 {
    color: #edf4ff;
  }

  input,
  textarea {
    background: rgba(7, 12, 23, 0.84);
    color: var(--text);
  }

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

  .mini-tag {
    background: rgba(30, 41, 59, 0.88);
    color: #cbd5e1;
  }

  .template-pill {
    background: rgba(37, 99, 235, 0.22);
    color: #dbeafe;
  }

  .template-pill.muted,
  .template-showcase-preview,
  .template-preview-block {
    background: rgba(20, 29, 46, 0.92);
    color: var(--text);
  }

  .loading-mask {
    background: rgba(2, 6, 23, 0.5);
  }
}
