:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #15263a;
  background: #f3f5f7;
}
* { box-sizing: border-box; }
body { margin: 0; }
.site-header { background: #142943; color: white; }
.header-inner { max-width: 1450px; margin: auto; min-height: 70px; padding: 0 38px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 22px; font-weight: 750; line-height: 1.5; }
.header-tag { border: 1px solid #547086; border-radius: 30px; padding: 7px 13px; color: #d9e4ec; font-size: 12px; }
.workspace { max-width: 1450px; margin: auto; padding: 39px 38px 70px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 28px; }
.eyebrow, .rail-kicker { font-size: 11px; letter-spacing: .18em; color: #d7444b; font-weight: 800; margin: 0 0 11px; }
.page-heading h1 { font-size: 31px; letter-spacing: -.03em; line-height: 1.25; margin: 0 0 10px; font-weight: 800; }
.lead { font-size: 14px; color: #687789; margin: 0; }
.privacy-pill { font-size: 12px; color: #607284; background: #e7edf0; border-radius: 100px; padding: 9px 14px; white-space: nowrap; }
.privacy-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #49ae7a; margin-right: 7px; }
.layout { display: grid; grid-template-columns: minmax(0,1fr) 365px; gap: 25px; align-items: start; }
.editor, .rail-card, .tip-card { background: white; border: 1px solid #e4e9ed; border-radius: 16px; box-shadow: 0 8px 30px rgba(22,41,57,.035); }
.editor { padding: 27px 30px 30px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.panel-head > div { display: flex; align-items: center; gap: 10px; }
.panel-head h2 { font-size: 18px; margin: 0; }
.panel-head p { font-size: 12px; color: #92a0aa; margin: 0; }
.step { font-weight: 800; font-size: 12px; color: #d7444b; background: #fff2f2; border-radius: 6px; padding: 5px 6px; }
.section-start { margin-top: 31px; border-top: 1px solid #edf0f2; padding-top: 27px; }
.type-selector { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.type-selector[hidden] { display: none; }
.type-selector.two-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
.selection-label { margin: 0 0 10px; font-size: 12px; color: #607284; font-weight: 650; }
.subtype-panel { margin-top: 20px; padding-left: 15px; border-left: 2px solid #e7edf0; }
.selection-note { margin: 0; color: #71808d; font-size: 12px; line-height: 1.7; }
.selection-path { margin: 14px 0 0; color: #a43d45; font-size: 12px; line-height: 1.6; }
.type-card { font: inherit; text-align: left; border: 1px solid #e0e6eb; background: #fbfcfd; border-radius: 12px; padding: 14px 15px; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: 20px 17px; align-items: center; cursor: pointer; transition: .15s; }
.type-card:hover { border-color: #bc9294; }
.type-card.selected { background: #fff8f8; border: 1.5px solid #dd4549; box-shadow: 0 0 0 3px #fff0f0; }
.type-icon { grid-row: 1 / 3; width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: #e5e9ec; color: #748392; font-size: 23px; line-height: 1; }
.selected .type-icon { background: #fce5e5; color: #d7444b; }
.type-card strong { font-size: 14px; }
.type-card small { font-size: 11px; color: #8b9aa6; }
.category-card { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; gap: 5px; min-height: 78px; padding: 13px 11px; }
.category-card strong { font-size: 12px; overflow-wrap: anywhere; line-height: 1.4; }
.type-card:focus-visible { outline: 2px solid #d7444b; outline-offset: 3px; }
.form-section { padding: 23px 0 21px; border-top: 1px solid #edf0f2; }
.fixed-section { border-top: 0; padding-top: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.section-heading h3 { font-size: 15px; margin: 0; display: flex; align-items: center; gap: 9px; }
.section-heading h3:before { content: ""; height: 16px; width: 3px; background: #db454b; border-radius: 2px; }
.section-heading span { font-size: 12px; color: #9aa7b1; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field span { font-size: 12px; color: #4f5d68; font-weight: 650; }
.field span em { font-style: normal; color: #a7b0b8; font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 13px; line-height: 1.4; border: 1px solid #dce3e8; border-radius: 8px; padding: 10px 11px; color: #1b2c3c; background: white; outline: 0; transition: .15s; }
.field input:focus, .field textarea:focus { border-color: #d7444b; box-shadow: 0 0 0 3px #fceeee; }
.field input::placeholder, .field textarea::placeholder { color: #a3adb5; }
.field textarea { resize: vertical; min-height: 68px; }
.full-field { margin-top: 15px; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 18px; }
.upload-tile { min-height: 125px; border: 1.5px dashed #ccd5dc; background: #f9fafb; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer; position: relative; overflow: hidden; text-align: center; }
.upload-tile:hover { border-color: #d7444b; }
.upload-tile input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-symbol { font-size: 25px; color: #d7444b; line-height: 1; }
.upload-tile strong { font-size: 12px; }
.upload-tile small { font-size: 11px; color: #99a5ad; }
.upload-tile img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: white; }
.upload-tile.has-image img { display: block; }
.upload-tile.has-image:after { content: "更换图片"; position: absolute; right: 7px; bottom: 7px; background: rgba(20,41,67,.84); color: white; border-radius: 5px; padding: 4px 6px; font-size: 10px; }
.right-rail { position: sticky; top: 20px; display: grid; gap: 15px; }
.rail-card { padding: 26px; }
.rail-card h2 { font-size: 20px; margin: 0 0 8px; line-height: 1.35; }
.rail-card > p { color: #71808d; font-size: 12.5px; line-height: 1.7; margin: 0; }
.language-picker { margin: 17px 0 0; padding: 0; border: 0; }
.language-picker legend { margin-bottom: 8px; padding: 0; font-size: 12px; color: #4f5d68; font-weight: 700; }
.language-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.language-option { border: 1px solid #dce3e8; border-radius: 8px; padding: 9px 12px; background: #fbfcfd; color: #526273; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.language-option:hover { border-color: #bc9294; }
.language-option.selected { color: #b73037; border-color: #d7444b; background: #fff5f5; box-shadow: 0 0 0 2px #fff0f0; }
.language-option:focus-visible { outline: 2px solid #d7444b; outline-offset: 2px; }
.mini-sheet { aspect-ratio: 297 / 210; background: white; box-shadow: 0 8px 24px rgba(16,35,51,.1); border: 1px solid #e7eaed; margin: 25px 2px; display: grid; grid-template-columns: minmax(0,32fr) minmax(0,68fr); padding: 11px; gap: 8px; }
.mini-left { display: grid; grid-template-rows: 22% 32% 26% 20%; gap: 4px; }
.mini-left i { display: block; background: #e7e9ea; border-left: 3px solid #e9454a; }
.mini-right { position: relative; padding-right: 5px; }
.mini-brand { position: absolute; right: 0; top: 0; font: 700 8px Arial,sans-serif; letter-spacing: .03em; color: #1f3043; }
.mini-company { position: absolute; right: 0; top: 9px; font-size: 3.5px; color: #536273; white-space: nowrap; }
.mini-photo { width: 60%; height: 70px; border: 1px dashed #b9c5ce; color: #a3afb8; display: grid; place-items: center; font-size: 10px; margin: 13px auto 6px; }
.mini-title { height: 10px; border-bottom: 2px solid #e9454a; width: 65%; margin-bottom: 7px; }
.mini-graph { height: 67px; border: 1px solid #d6dce0; background: repeating-linear-gradient(0deg,transparent 0 10px,#e9ecee 11px),repeating-linear-gradient(90deg,transparent 0 14px,#e9ecee 15px); }
.mini-graph svg { width: 100%; height: 100%; }
.progress-row { display: flex; justify-content: space-between; font-size: 12px; color: #778692; margin-bottom: 9px; }
.progress-row strong { color: #293b4b; }
.progress-track { height: 6px; background: #e9edf0; border-radius: 10px; overflow: hidden; }
.progress-track > div { height: 100%; width: 0; background: #e1464d; border-radius: 10px; transition: width .2s; }
.primary-button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin-top: 21px; border: 0; border-radius: 9px; padding: 15px 18px; background: #d73e45; color: white; font: 700 14px Inter, "PingFang SC", Arial, sans-serif; cursor: pointer; box-shadow: 0 7px 14px rgba(215,62,69,.18); }
.primary-button:hover { background: #c62f37; }
.primary-button:disabled { opacity: .58; cursor: wait; }
.primary-button span { font-size: 19px; }
.status { margin: 10px 0 0 !important; min-height: 33px; color: #7e8d98 !important; font-size: 11px !important; }
.status.error { color: #c6343b !important; }
.status.success { color: #24805e !important; }
.tip-card { padding: 20px 23px; }
.tip-card strong { font-size: 13px; }
.tip-card p { margin: 8px 0 0; color: #788692; font-size: 12px; line-height: 1.7; }
.tip-card b { color: #4d6172; font-weight: 600; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .right-rail { position: static; grid-row: 1; }
  .mini-sheet { display: none; }
  .rail-card { display: grid; grid-template-columns: 1fr 260px; gap: 4px 25px; }
  .rail-kicker, .rail-card h2, .rail-card > p, .progress-row, .progress-track, .status { grid-column: 1; }
  .primary-button { grid-column: 2; grid-row: 2 / 5; align-self: center; }
  .tip-card { display: none; }
}
@media (max-width: 650px) {
  .header-inner { padding: 0 20px; }
  .brand { font-size: clamp(15px, 4.2vw, 20px); }
  .header-tag { display: none; }
  .workspace { padding: 25px 15px 45px; }
  .page-heading { display: block; }
  .page-heading h1 { font-size: 26px; }
  .privacy-pill { display: inline-flex; margin-top: 15px; }
  .editor { padding: 20px 17px; }
  .type-card { grid-template-columns: 1fr; grid-template-rows: 30px 20px 16px; text-align: center; justify-items: center; padding: 11px 4px; }
  .type-icon { grid-row: 1; }
  .category-card { grid-template-rows: 1fr auto; padding: 11px 5px; }
  .category-card strong { font-size: 10px; }
  .panel-head { align-items: flex-start; }
  .panel-head > p { max-width: 110px; line-height: 1.6; text-align: right; }
  .field-grid, .upload-grid { grid-template-columns: 1fr; }
  .rail-card { display: block; }
  .primary-button { margin-top: 18px; }
}
