:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: #173c31;
  background: #f4f1e7;
  --primary: #075b45;
  --primary-dark: #043c2e;
  --primary-soft: #e6f0e8;
  --ink: #222623;
  --paper: #f4f1e7;
  --surface: #ffffff;
  --line: #cbd8ce;
  --muted: #687269;
  --green: #075b45;
  --green-soft: #e5f0e8;
  --blue: #3563e9;
  --blue-soft: #edf2ff;
  --amber: #b96a28;
  --amber-soft: #fff3e7;
  --slate: #364050;
  --slate-soft: #eef1f5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { max-width: 1420px; margin: 0 auto; padding: 28px 24px 64px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
h1 { margin: 8px 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: 0; }
h2 { margin: 0; font-size: 25px; letter-spacing: -.02em; }
h3 { margin: 0; font-size: 17px; }
.eyebrow { margin: 0; color: #667068; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.muted { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.small { font-size: 13px; }
.status { color: var(--green); background: var(--green-soft); border-radius: 99px; padding: 8px 13px; white-space: nowrap; font-size: 13px; }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #36b875; }
.masthead { padding: 22px 26px; border: 1px solid #a9c0af; border-radius: 18px; background: linear-gradient(135deg, #fdfbf2, #edf3e9); box-shadow: 0 10px 26px rgba(26, 63, 48, .07); }
.masthead h1 { color: #075b45; letter-spacing: .06em; }
.nav { display: flex; gap: 8px; margin: 34px 0 24px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.nav a { color: var(--muted); text-decoration: none; padding: 12px 16px; white-space: nowrap; font-size: 14px; }
.nav a.active { color: var(--primary); border-bottom: 2px solid var(--primary); font-weight: 700; }
.workflow-nav { margin-top: 20px; border: 1px solid #b9cbbd; border-radius: 12px; padding: 5px; background: #fbfaf3; }
.workflow-nav a { border-radius: 8px; }
.workflow-nav a.active { color: #fff; border: 0; background: var(--primary); }
.page-section { animation: fade-in .18s ease-out; }
.hidden { display: none !important; }
.workflow-block { margin-top: 18px; padding: 15px; border: 1px solid #adc4b3; border-radius: 16px; background: rgba(255, 255, 250, .72); box-shadow: 0 5px 16px rgba(17, 65, 47, .05); }
.ribbon { display: flex; align-items: center; gap: 10px; width: fit-content; min-width: 280px; margin: -30px auto 14px; padding: 7px 24px 7px 12px; color: #fff; border-radius: 999px; background: var(--primary); box-shadow: 0 3px 0 rgba(4, 60, 46, .15); }
.ribbon span { display: grid; width: 27px; height: 27px; place-items: center; color: var(--primary); background: #fff; border-radius: 50%; font-weight: 900; }
.ribbon h3 { color: #fff; letter-spacing: .04em; }
.ribbon em { margin-left: 5px; color: #cae4cd; font-style: normal; font-size: 12px; font-weight: 600; }
.ribbon.wide { flex-wrap: wrap; justify-content: center; min-width: 340px; }
.ribbon.wide p { flex-basis: 100%; margin: -2px 0 0 39px; color: #d5e7d8; font-size: 12px; }
.goal-grid, .intake-grid, .business-grid, .shared-grid { display: grid; gap: 14px; }
.goal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.goal-card { display: flex; gap: 14px; min-height: 142px; padding: 18px; border: 1px solid #bfd0c1; border-radius: 12px; background: #fffdf5; }
.goal-card h3 { color: #154b39; }
.goal-card p { margin: 7px 0 0; color: #455a4c; font-size: 13px; line-height: 1.45; }
.goal-card strong { color: var(--primary); font-size: 20px; }
.goal-icon, .intake-mark, .shared-icon { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; color: var(--primary); border: 2px solid var(--primary); border-radius: 50%; font-size: 31px; font-weight: 800; }
.intake-grid { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.intake-block { margin-top: 0; min-height: 210px; }
.intake-content { display: flex; gap: 18px; align-items: flex-start; padding: 8px 20px; }
.intake-content p { margin: 7px 0; color: #455a4c; font-size: 13px; }
.intake-content .button { margin-top: 12px; }
.intake-mark { border-radius: 12px; }
.reuse-note { margin: 0 20px 4px; padding: 8px 12px; color: #6e5a27; border: 1px solid #d7c996; border-radius: 7px; background: #fff8df; font-size: 12px; }
.business-block { margin-top: 28px; padding: 15px 10px 12px; }
.business-grid { grid-template-columns: 1fr 1fr; }
.business-card { min-width: 0; padding: 16px 12px 12px; border: 1px solid #a9c0af; border-radius: 12px; background: #fffdf6; }
.matrix-business { border-top: 4px solid #0a7051; }
.creator-business { border-top: 4px solid #bd7a32; }
.business-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.business-heading h3 { margin-top: 3px; color: #124b38; font-size: 19px; }
.business-heading p { max-width: 420px; margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.line-kicker { color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.creator-business .line-kicker { color: #a66722; }
.step-rail { display: flex; align-items: stretch; gap: 3px; margin-top: 15px; overflow-x: auto; padding-bottom: 4px; }
.step-rail > div { flex: 1 0 76px; min-height: 112px; padding: 8px 6px; text-align: center; border: 1px solid #bfd0c1; border-radius: 8px; background: #fbfbf2; }
.step-rail b { display: grid; width: 25px; height: 25px; place-items: center; margin: -19px auto 6px; color: #fff; background: var(--primary); border: 2px solid #fffdf6; border-radius: 50%; font-size: 10px; }
.creator-business .step-rail b { background: #a66722; }
.step-rail strong { display: block; color: #2e4d3e; font-size: 11px; line-height: 1.3; }
.step-rail small { display: block; margin-top: 6px; color: #758176; font-size: 10px; line-height: 1.3; }
.step-rail i { align-self: center; flex: 0 0 auto; color: var(--primary); font-size: 17px; font-style: normal; }
.business-output { margin-top: 12px; padding: 8px 12px; color: #fff; border-radius: 7px; background: var(--primary); font-size: 12px; }
.creator-business .business-output { background: #a66722; }
.shared-block { margin-top: 28px; }
.shared-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shared-grid article { min-height: 144px; padding: 14px 12px; text-align: center; border: 1px solid #bfd0c1; border-radius: 11px; background: #fffdf5; }
.shared-icon { width: 43px; height: 43px; margin: 0 auto 8px; border-radius: 10px; font-size: 23px; }
.shared-grid h3 { color: #154b39; font-size: 14px; }
.shared-grid p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.today-snapshot { margin-top: 22px; }
.grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.card, .section { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 22px rgba(26, 35, 29, .05); }
.card { min-height: 170px; padding: 24px; }
.hero-card { background: linear-gradient(135deg, #fff, #fff4f6 52%, #eff7f1); }
.hero-card h3 { margin-top: 12px; font-size: 20px; }
.progress { height: 8px; background: #e7ece6; border-radius: 99px; margin: 20px 0; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--primary); transition: width .25s ease; }
.button { border: 0; border-radius: 8px; padding: 10px 15px; color: #fff; background: var(--primary); font-size: 14px; transition: background .15s, transform .15s; }
.button:hover { background: var(--primary-dark); }
.button:active { transform: translateY(1px); }
.button.secondary { color: var(--primary); background: var(--primary-soft); }
.button.secondary:hover { background: #ffe2e8; }
.text-button { padding: 7px 10px; color: var(--primary); background: transparent; }
.metric { display: block; margin-top: 20px; font-size: 38px; letter-spacing: -.04em; }
.text-link, .section-heading a { color: var(--primary); text-decoration: none; font-size: 13px; }
.section { margin-top: 16px; padding: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.page-heading { align-items: flex-end; margin: 12px 0 20px; }
.workflow-section { padding-bottom: 18px; }
.flow-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.flow-rail div { min-height: 118px; padding: 16px; background: #f8faf7; border: 1px solid var(--line); border-radius: 8px; }
.flow-rail span { display: inline-grid; width: 28px; height: 28px; place-items: center; margin-bottom: 12px; color: #fff; background: var(--ink); border-radius: 50%; font-size: 12px; font-weight: 800; }
.flow-rail strong { display: block; font-size: 15px; }
.flow-rail p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.task-list { display: grid; gap: 8px; }
.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid #eef1f5; }
.task > div { flex: 1; min-width: 0; }
.task p { margin: 4px 0 0; font-size: 13px; }
.task strong { font-size: 14px; }
.task-next { display: block; margin-top: 7px; color: #4b554d; font-size: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.blue { background: var(--blue); } .orange { background: #e28c3c; } .green { background: #31a36c; }
.tag { color: var(--primary); background: var(--primary-soft); padding: 6px 10px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.tag.neutral { color: #6a7588; background: #f1f3f6; }
.tag.green { color: var(--green); background: var(--green-soft); }
.tag.orange { color: var(--amber); background: var(--amber-soft); }
.campaign-grid, .review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.review-grid { grid-template-columns: 1fr 1fr 1.5fr; }
.campaign-card { display: flex; gap: 16px; align-items: flex-start; min-height: 150px; }
.campaign-card .button { margin-top: 14px; }
.icon-badge { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; font-size: 19px; font-weight: 700; }
.blue-bg { color: var(--blue); background: var(--blue-soft); } .orange-bg { color: var(--amber); background: var(--amber-soft); }
.green-bg { color: var(--green); background: var(--green-soft); } .slate-bg { color: var(--slate); background: var(--slate-soft); }
.hint-banner, .empty-note { display: flex; gap: 13px; align-items: flex-start; padding: 15px 17px; border: 1px solid #dce7ff; background: #f4f7ff; border-radius: 12px; }
.hint-banner { margin-bottom: 16px; }
.hint-banner .muted, .empty-note .muted { margin-top: 3px; font-size: 13px; }
.hint-icon { display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: #4f73df; border-radius: 50%; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card { padding: 20px; min-height: 0; }
.product-card h3 { margin-bottom: 4px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.asset-progress { height: 6px; margin-top: 12px; background: #edf0f5; border-radius: 99px; overflow: hidden; }
.asset-progress span { display: block; height: 100%; background: #45ae7a; border-radius: inherit; }
.asset-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.asset-chip { padding: 5px 9px; border-radius: 6px; font-size: 12px; color: #28794f; background: #e9f8f0; }
.asset-chip.missing { color: #a46b26; background: #fff5e6; }
.creator-list { display: grid; }
.creator-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #eef1f5; }
.creator-row > div { flex: 1; }
.avatar { display: grid; width: 36px; height: 36px; place-items: center; color: #315bd7; background: #e8efff; border-radius: 50%; font-weight: 700; }
.avatar.purple { color: #7851ba; background: #f0eaff; }
.empty-note { margin-top: 16px; border-color: #eee4cd; background: #fffaf0; }
.suggestion-card { background: linear-gradient(130deg, #fff, #f5f9ff); }
.suggestion-card h3 { margin-top: 12px; }
.suggestion-card .button { margin-top: 10px; }
.up { color: #2a9e66; font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.detail-panel { padding: 14px; border: 1px solid var(--line); background: #f8faf7; border-radius: 8px; }
.detail-panel h3 { margin-bottom: 8px; font-size: 15px; }
.check-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.check-list li::before { content: "✓"; display: grid; width: 18px; height: 18px; place-items: center; flex: 0 0 auto; color: #fff; background: var(--green); border-radius: 50%; font-size: 11px; font-weight: 800; }
.order-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mode-card { padding: 12px; border: 1px solid var(--line); background: #f8faf7; border-radius: 8px; }
.mode-card strong { display: block; margin-bottom: 4px; }
.mode-card input { margin-right: 8px; }
.modal-root[hidden] { display: none; }
.modal-root { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 16px; background: rgba(18, 29, 50, .38); }
.modal { width: min(560px, 100%); max-height: min(720px, 94vh); overflow-y: auto; padding: 26px; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(15, 28, 55, .2); }
.modal-header { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; margin-bottom: 20px; }
.close-button { border: 0; color: #718098; background: transparent; font-size: 23px; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #dce2eb; border-radius: 8px; padding: 10px 11px; color: #172033; background: #fff; outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #6e8ce5; box-shadow: 0 0 0 3px #edf2ff; }
.form-field textarea { min-height: 75px; resize: vertical; }
.field-help { margin: 0; color: #8a95a6; font-size: 12px; }
.file-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.file-field { display: grid; gap: 6px; padding: 10px; color: #5f6c81; background: #f8f9fc; border: 1px dashed #ced7e6; border-radius: 8px; font-size: 12px; }
.file-field input { padding: 0; border: 0; font-size: 12px; background: transparent; }
.check-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; color: #5f6c81; font-size: 13px; }
.check-row label { font-weight: 400; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 24px; padding: 11px 16px; color: #fff; background: #24324a; border-radius: 8px; box-shadow: 0 5px 20px rgba(17, 31, 58, .25); transform: translate(-50%, 130%); transition: transform .22s ease; }
.toast.show { transform: translate(-50%, 0); }
@keyframes fade-in { from { opacity: .2; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .shell { padding: 28px 16px 48px; }
  .topbar { display: block; }
  .topbar-actions { justify-content: space-between; margin-top: 18px; }
  .grid, .campaign-grid, .product-grid, .review-grid, .flow-rail, .detail-grid, .order-mode { grid-template-columns: 1fr; }
  .task { grid-template-columns: auto minmax(0, 1fr); }
  .task .tag, .task .button { justify-self: start; margin-left: 21px; }
  .page-heading { align-items: flex-start; }
  .creator-row { flex-wrap: wrap; }
  .creator-row .text-button { margin-left: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .file-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
}
@media (max-width: 980px) {
  .goal-grid, .shared-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-grid, .intake-grid { grid-template-columns: 1fr; }
  .business-card { overflow: hidden; }
}
@media (max-width: 560px) {
  .shell { padding: 16px 12px 40px; }
  .masthead { padding: 18px 16px; }
  .masthead h1 { font-size: 28px; }
  .goal-grid, .shared-grid { grid-template-columns: 1fr; }
  .ribbon { min-width: 0; width: 92%; justify-content: center; margin-top: -28px; }
  .ribbon.wide { min-width: 0; }
  .business-heading { display: block; }
  .business-heading .button { margin-top: 12px; }
  .intake-content { padding: 8px 8px; }
}
