:root {
  --ink: #202c35;
  --muted: #7b8792;
  --line: #e2e8ec;
  --coral: #ed6258;
  --coral-dark: #d84e45;
  --pink: #fff3f1;
  --teal: #286c78;
  --cyan: #f2f8f9;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  background: #fff;
}
* { box-sizing: border-box; letter-spacing: 0; }
body, h1, h2, h3, p { margin: 0; }
button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
svg { width: 19px; height: 19px; flex-shrink: 0; stroke-width: 1.65; }
.shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100vh; }
.sidebar { border-right: 1px solid var(--line); padding: 28px 15px; }
.sidebar-inner { position: sticky; top: 28px; min-height: calc(100vh - 56px); display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 37px; }
.brand-mark { flex: 0 0 42px; height: 42px; border-radius: 50%; background: #19242e; color: #fff; display: grid; place-items: center; font: 25px var(--serif); }
.brand strong { display: block; font: 700 22px var(--serif); }
.brand div > span { font-size: 12px; color: #62707b; display: block; margin-top: 4px; }
nav { display: grid; gap: 7px; }
.nav-item { display: flex; gap: 13px; align-items: center; min-height: 47px; padding: 11px 15px; color: #6d7985; border-radius: 6px; text-align: left; font-size: 14px; }
.nav-item:hover { background: #f7f9fa; }
.nav-item.active { color: var(--coral-dark); background: var(--pink); font-weight: 600; }
.nav-item svg { width: 18px; }
.sidebar-foot { margin: auto 13px 0; padding-top: 28px; color: #9aa4ac; font-size: 12px; line-height: 1.9; }
main { min-width: 0; }
.topbar { height: 67px; padding: 0 36px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.breadcrumbs, .account { display: flex; align-items: center; gap: 11px; font-size: 12px; color: var(--muted); }
.breadcrumbs svg { width: 12px; }
.breadcrumbs strong { color: #50606c; font-weight: 500; }
.account { color: #576572; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e9f0f1; color: var(--teal); font-size: 12px; }
.page { padding: 28px 36px 38px; max-width: 1470px; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
h1 { font: 700 36px/1.3 var(--serif); }
.page-heading p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.section-symbol { color: #a0b8bd; padding-right: 3px; }
.section-symbol svg { width: 25px; height: 25px; }
.profile { padding: 13px 17px 15px; background: var(--cyan); border-left: 3px solid #91bdc2; margin-bottom: 23px; }
.profile summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; color: var(--teal); font-size: 12px; }
.profile summary::-webkit-details-marker { display: none; }
.profile summary > span { display: flex; align-items: center; gap: 7px; }
.profile summary svg { width: 15px; height: 15px; }
.profile .profile-toggle { font-size: 11px; color: #82979c; }
.profile[open] .profile-toggle svg { transform: rotate(180deg); }
.profile-content { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 11px; }
.profile-content > div { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.profile-content span { color: #7c969a; white-space: nowrap; }
.profile-content strong { font-weight: 500; color: #425e66; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 239px; gap: 29px; align-items: start; }
.content-column { min-width: 0; }
.task-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.task-tabs button { min-height: 44px; color: #7f8992; font-size: 14px; padding: 8px 4px 15px; position: relative; white-space: nowrap; }
.task-tabs button[aria-selected="true"] { color: var(--coral-dark); font-weight: 600; }
.task-tabs button[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 18px; right: 18px; height: 3px; background: var(--coral); }
.composer { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.composer section { min-width: 0; }
.field-heading { display: flex; align-items: center; gap: 9px; height: 29px; margin-bottom: 9px; }
.field-heading label { font-size: 15px; font-weight: 600; }
.step { color: #b6a5a0; font: 12px ui-monospace, monospace; }
.editable { margin-left: auto; color: #96a0a8; display: flex; align-items: center; gap: 4px; font-size: 11px; }
.editable svg { width: 12px; height: 12px; }
textarea { display: block; width: 100%; height: 254px; resize: vertical; border: 1px solid #d9e1e6; border-radius: 6px; background: white; padding: 16px; line-height: 1.85; font-size: 14px; outline: none; }
textarea::placeholder { color: #9ca6ae; }
textarea:focus { border-color: #7aaab1; box-shadow: 0 0 0 3px #f0f7f8; }
#question { background: #fafcfc; color: #4d626b; font-size: 13px; }
.input-footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 12px; min-height: 40px; }
.count { color: #9ba6ae; font-size: 11px; }
.primary, .secondary { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 41px; border-radius: 6px; font-size: 13px; font-weight: 600; padding: 9px 15px; }
.primary { background: var(--coral); color: #fff; }
.primary:hover { background: var(--coral-dark); }
.secondary { border: 1px solid #c9dade; background: #f4f9fa; color: var(--teal); }
.secondary:hover { background: #e9f3f4; }
.primary svg, .secondary svg { width: 16px; height: 16px; }
.saved { font-size: 10px; color: #83949b; display: flex; align-items: center; gap: 4px; }
.saved svg { width: 13px; height: 13px; }
.ruler { border-left: 1px solid var(--line); padding: 9px 0 0 23px; position: sticky; top: 24px; }
.ruler-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ruler-heading svg { color: var(--teal); width: 18px; }
.ruler h2 { font-size: 16px; font-weight: 600; }
.rule { display: flex; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: 0; }
.rule-number { font: 11px/1.8 ui-monospace, monospace; color: #a4b4b8; padding-top: 1px; }
.rule h3 { color: var(--teal); font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.rule p { color: #697c85; font-size: 13px; line-height: 1.85; }
.result { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 22px; scroll-margin-top: 20px; }
.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-bottom: 15px; }
.result-heading > div { display: flex; align-items: center; gap: 9px; }
.result-heading > div > svg { color: var(--coral); width: 19px; }
.result h2 { font: 700 23px/1.45 var(--serif); }
.icon-button { flex: 0 0 31px; height: 31px; border: 1px solid var(--line); border-radius: 5px; display: grid; place-items: center; color: #84929b; }
.icon-button:hover { color: var(--teal); background: var(--cyan); }
.icon-button svg { width: 15px; }
.analysis-panel { border: 1px solid #e2e7eb; border-radius: 6px; border-top: 3px solid #eeb0a8; padding: 22px 24px 23px; background: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }
.analysis-meta { color: var(--coral-dark); font-size: 11px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.analysis-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #cdbeb7; }
.analysis-title { margin: 9px 0 14px; font-size: 19px; line-height: 1.65; font-weight: 600; }
.analysis-body { display: grid; gap: 18px; color: #5f6e78; font-size: 13px; line-height: 1.95; }
.analysis-body p { overflow-wrap: anywhere; }
.analysis-section h4 { margin: 0 0 4px; color: #334954; font-size: 14px; font-weight: 600; }
.analysis-section blockquote { margin: 7px 0 0; padding: 3px 0 3px 14px; border-left: 2px solid #abcbd0; color: #41606b; }
.analysis-points { margin: 5px 0 0; padding: 0 0 0 18px; }
.analysis-points li { padding-left: 2px; margin-top: 4px; }
.analysis-points li::marker { color: #9fb7bb; }
.headline-list { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: headlines; }
.headline-list li { counter-increment: headlines; display: grid; grid-template-columns: 22px 70px minmax(0, 1fr) 33px; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid #edf0f2; }
.headline-list li::before { content: counter(headlines, decimal-leading-zero); color: #98a7ae; font: 11px ui-monospace, monospace; }
.headline-list li:last-child { border-bottom: 0; }
.headline-type { font-size: 11px; color: #84969d; }
.headline-list .recommended .headline-text { color: var(--coral-dark); font-weight: 600; }
.recommendation { font-size: 11px; font-weight: 500; color: var(--coral-dark); }
.analysis-body strong { color: #334954; font-weight: 600; }
.analysis-body .evidence { color: #667e87; }
.analysis-body .caution { font-size: 12px; color: #8b9298; padding-top: 12px; border-top: 1px solid #edf0f2; }
.personal-opening { color: #365c68; font-size: 13px; line-height: 1.95; padding-bottom: 15px; margin-bottom: 17px; border-bottom: 1px solid var(--line); }
.basic-answer { color: #3d505c; font-size: 14px; line-height: 2.15; white-space: pre-line; }
.service-footer { color: #778c95; font-size: 12px; line-height: 1.85; margin-top: 22px; padding-top: 14px; border-top: 1px solid #edf0f2; }
.depth-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 13px; }
.analysis-panel[data-mode="deep"] { display: grid; gap: 22px; }
.analysis-panel .analysis-section h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: #334954; }
.analysis-panel .analysis-section p { color: #5f6e78; font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
.text-button { color: var(--teal); font-size: 12px; padding: 8px 0; }
[hidden] { display: none !important; }
.empty-result { color: #82929c; font-size: 14px; padding-top: 20px; line-height: 1.9; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); background: #253f48; color: #fff; padding: 12px 17px; border-radius: 6px; font-size: 13px; line-height: 1.6; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 10; }
.toast.visible { opacity: 1; }
@media (min-width: 1750px) {
  .page { padding-top: 33px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 250px; gap: 34px; }
  textarea { height: 249px; }
}
@media (max-width: 1270px) {
  .shell { grid-template-columns: 188px minmax(0, 1fr); }
  .sidebar { padding-left: 9px; padding-right: 9px; }
  .page { padding: 25px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 201px; gap: 22px; }
  .ruler { padding-left: 18px; }
  .profile-content { flex-wrap: wrap; gap: 9px 22px; }
  .composer { grid-template-columns: 1fr; gap: 20px; }
  textarea { height: 183px; }
  #question { height: 225px; }
  .field-heading label { font-size: 14px; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 171px minmax(0, 1fr); }
  .brand { padding-left: 4px; gap: 7px; }
  .brand-mark { flex-basis: 35px; height: 35px; font-size: 23px; }
  .brand strong { font-size: 20px; }
  .brand div > span { font-size: 11px; }
  .nav-item { font-size: 13px; gap: 9px; padding-left: 11px; }
  .workspace { grid-template-columns: 1fr; }
  .ruler { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 23px 0 0; }
  .rule { padding: 15px 0; }
  .task-tabs button { font-size: 12px; }
  .topbar { padding: 0 25px; }
}
@media (max-width: 600px) {
  .shell { display: block; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 18px; }
  .sidebar-inner { position: static; min-height: 0; flex-direction: row; justify-content: space-between; align-items: center; }
  .brand { padding: 0; gap: 9px; }
  .brand strong { font-size: 18px; }
  .brand div > span { font-size: 10px; }
  .brand-mark { flex-basis: 34px; height: 34px; font-size: 21px; }
  .nav-item, .sidebar-foot { display: none; }
  .nav-item.active { display: flex; font-size: 12px; min-height: 36px; padding: 8px 11px; gap: 6px; }
  .nav-item svg { width: 14px; }
  .topbar { height: 46px; padding: 0 18px; }
  .breadcrumbs, .account { font-size: 10px; gap: 6px; }
  .avatar { width: 23px; height: 23px; font-size: 10px; }
  .page { padding: 22px 18px 30px; }
  h1 { font-size: 30px; }
  .page-heading { margin-bottom: 19px; }
  .page-heading p { font-size: 12px; line-height: 1.8; }
  .section-symbol { display: none; }
  .profile { padding: 12px; margin-bottom: 14px; }
  .profile summary { font-size: 11px; }
  .profile .profile-toggle { font-size: 10px; }
  .profile-content { flex-direction: column; gap: 8px; }
  .profile-content > div { align-items: flex-start; font-size: 11px; gap: 10px; line-height: 1.65; }
  .profile-content > div > span { flex: 0 0 44px; }
  .task-tabs { margin-bottom: 19px; }
  .task-tabs button { font-size: 11px; min-height: 42px; padding-bottom: 11px; }
  .task-tabs button[aria-selected="true"]::after { left: 5px; right: 5px; }
  .composer { gap: 22px; }
  .field-heading { gap: 7px; }
  .field-heading label { font-size: 14px; }
  textarea { height: 221px; font-size: 13px; padding: 13px; }
  #question { height: 305px; font-size: 12px; }
  .input-footer { gap: 6px; }
  .secondary, .primary { font-size: 12px; padding: 8px 13px; }
  .result { margin-top: 25px; padding-top: 18px; }
  .result h2 { font-size: 20px; }
  .result-heading > div { gap: 6px; }
  .result-heading > div > svg { width: 16px; }
  .analysis-panel { padding: 18px 16px; }
  .analysis-title { font-size: 17px; margin-top: 8px; }
  .analysis-body { font-size: 12px; gap: 13px; }
  .personal-opening, .basic-answer { font-size: 12px; }
  .service-footer { font-size: 11px; }
  .depth-actions { gap: 5px; }
  .analysis-section h4 { font-size: 13px; }
  .headline-list li { grid-template-columns: 17px 58px minmax(0, 1fr); gap: 5px; padding: 9px 0; }
  .headline-type { font-size: 10px; }
  .recommendation { grid-column: 3; font-size: 10px; }
  .analysis-body .caution { font-size: 11px; }
  .ruler { margin-top: 5px; }
  .ruler h2 { font-size: 16px; }
  .rule h3 { font-size: 13px; }
  .rule p { font-size: 12px; }
}

html, body { height: 100%; overflow: hidden; }
.shell { height: 100dvh; min-height: 0; }
.sidebar { overflow-y: auto; }
.sidebar-inner { position: static; min-height: 100%; }
main { display: flex; flex-direction: column; overflow: hidden; }
.topbar { flex: 0 0 67px; }
#screens { flex: 1; min-height: 0; position: relative; }
iframe { width: 100%; height: 100%; border: 0; display: block; background: white; }
iframe[hidden] { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 178px minmax(0, 1fr); }
  .sidebar { padding: 20px 10px; }
  .brand { padding: 0 0 22px; gap: 7px; }
  .brand strong { font-size: 20px; }
  .nav-item { padding: 11px 9px; gap: 9px; }
  .topbar { padding: 0 18px; }
}
@media (max-width: 680px) {
  .shell { display: flex; flex-direction: column; }
  .sidebar { display: block; flex: 0 0 auto; padding: 12px 14px 8px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .sidebar-inner { display: block; }
  .brand { display: flex; padding: 0 0 10px; }
  .brand div { display: flex; align-items: baseline; gap: 8px; }
  .brand-mark { flex-basis: 30px; height: 30px; font-size: 19px; }
  .brand strong { font-size: 19px; }
  .brand div > span { font-size: 12px; }
  .sidebar-foot { display: none; }
  nav { display: flex; overflow-x: auto; gap: 4px; padding: 2px; }
  .nav-item, .nav-item.active { display: flex; flex: 0 0 auto; min-height: 40px; padding: 8px 10px; font-size: 13px; }
  .nav-item span { display: inline; }
  .nav-item svg { display: none; }
  main { flex: 1; }
  .topbar { flex-basis: 43px; padding: 0 15px; }
  .account, .breadcrumbs { font-size: 11px; gap: 6px; }
  .avatar { width: 23px; height: 23px; }
}

[hidden] { display: none !important; }
#entry { max-width: 680px; margin: 60px auto; padding: 20px; }
.workspace-loading { padding: 56px 36px; color: #526a72; font-size: 15px; line-height: 1.8; }
.workspace-loading p { margin: 0 0 20px; }
.workspace-loading button { min-height: 42px; padding: 8px 16px; border: 1px solid #bdd0d5; border-radius: 6px; background: white; color: #345f69; font: inherit; cursor: pointer; }
.nav-item:disabled { opacity: .55; cursor: wait; }
@media (max-width: 680px) { .workspace-loading { padding: 36px 20px; } }
#customer-logout { border: 0; background: transparent; color: #567078; padding: 8px; cursor: pointer; }
.production-page { display: block; overflow: visible; }
body[data-module] { min-width: 320px; background: white; }
body[data-module] main { min-width: 0; }
body[data-module] .page { padding: 32px; max-width: 1320px; margin: auto; }
body[data-module] h1 { font-family: 'Songti SC', STSong, serif; font-size: 36px; letter-spacing: 0; }
body[data-module] h2 { font-size: 23px; }
.page-heading { display: flex; gap: 20px; justify-content: space-between; align-items: start; margin-bottom: 28px; }
.page-heading p { color: #75838d; line-height: 1.7; margin: 14px 0 0; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.profile-fields label { display: grid; gap: 10px; color: #263c43; }
.asset-fields { display: grid; gap: 26px; margin: 26px 0; }
.asset-fields label { display: block; font-weight: 550; color: #263c43; }
.production-page .asset-fields textarea { min-height: 112px; font-weight: 400; }
.production-page .asset-fields textarea[name="source"] { min-height: 240px; }
#legacy-profile-text { white-space: pre-wrap; line-height: 1.8; padding-top: 12px; }
.profile-carry { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; color: #29737f; font-size: 14px; }
.profile-carry p { margin: 0; }
.profile-carry a { display: inline-flex; gap: 6px; align-items: center; color: #29737f; }
.profile-carry svg { width: 16px; height: 16px; }
.position-question { min-width: 0; border: 0; border-top: 1px solid #dce4e8; margin: 0 0 30px; padding: 22px 0 0; }
.position-question legend { font-size: 18px; font-weight: 600; line-height: 1.7; padding: 0 14px 0 0; max-width: 100%; }
.question-number { color: #e65a50; margin-right: 12px; font-size: 14px; }
.position-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.position-options label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; cursor: pointer; line-height: 1.6; }
.position-options input { flex: 0 0 18px; width: 18px; height: 18px; margin: 4px 0 0; accent-color: #ec5c51; }
.evidence-lines { display: grid; gap: 12px; }
.line-evidence { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); align-items: center; gap: 14px; }
.line-evidence select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #cddce1; border-radius: 6px; background: white; color: #263c43; font: inherit; }
.field-note { color: #75838d; font-size: 14px; line-height: 1.7; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #29737f; outline-offset: 2px; }
@media (max-width: 680px) { .position-options, .line-evidence { grid-template-columns: 1fr; } .line-evidence { gap: 8px; } .position-question legend { font-size: 17px; } }
.profile-fields input, .production-page textarea { font: inherit; padding: 14px 16px; width: 100%; border: 1px solid #cddce1; border-radius: 6px; color: #233039; background: #fff; }
.production-page textarea { display: block; min-height: 220px; resize: vertical; margin-top: 12px; line-height: 1.8; }
.position-subquestion { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.position-subquestion legend { font-size: 16px; padding: 0; }
.income-branch legend { color: #29737f; }
#position-goal-heading { font-size: 18px; line-height: 1.7; margin: 24px 0 16px; }
.position-bridge { border-left: 3px solid #81b6bd; background: #f1f8f9; color: #29737f; padding: 16px 20px; line-height: 1.8; margin: 0 0 30px; }
.position-optional { margin: 16px 0; color: #50717a; line-height: 1.8; }
.position-optional summary { cursor: pointer; }
.production-page .position-optional textarea { min-height: 110px; height: 110px; }
.position-story { line-height: 1.8; }
.position-story .field-label { font-size: 18px; font-weight: 600; }
.required-label { font-size: 13px; color: #a3463d; margin-left: 8px; }
#position-legacy-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.audience-question { border: 0; border-top: 1px solid #dce4e8; min-width: 0; padding: 20px 0 0; margin: 0 0 30px; }
.audience-intro { margin: 0 0 10px; color: #62747e; font-size: 14px; line-height: 1.7; }
.audience-question-v3 { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 10px; border-top: 1px solid #dce4e8; padding: 23px 0 24px; }
.audience-question-v3 .question-number { color: #e65a50; font-size: 15px; line-height: 1.75; font-weight: 600; }
.audience-question-v3 label { display: block; font-size: 18px; font-weight: 600; line-height: 1.65; }
.production-page .audience-question-v3 textarea { box-sizing: border-box; display: block; width: 100%; min-height: 88px; height: 88px; margin-top: 13px; padding: 14px 16px; resize: vertical; border: 1px solid #cddce1; border-radius: 6px; background: #fff; color: #263c43; font: inherit; font-size: 14px; line-height: 1.7; }
.audience-question-v3 textarea::placeholder { color: #9ca6ae; }
.audience-question legend { font-size: 18px; font-weight: 600; line-height: 1.7; max-width: 100%; padding-right: 14px; }
.audience-question label { line-height: 1.8; }
.audience-optional { color: #75838d; font-size: 14px; font-weight: 400; }
.audience-branch { border: 0; min-width: 0; padding: 0; margin: 16px 0 0; }
.audience-modes { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.audience-modes label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.audience-modes input { accent-color: #ec5c51; width: 18px; height: 18px; flex-shrink: 0; }
.production-page .audience-question textarea { min-height: 130px; height: 130px; }
.audience-numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audience-numbers input { box-sizing: border-box; width: 100%; min-width: 0; font: inherit; padding: 14px 16px; border: 1px solid #cddce1; border-radius: 6px; margin-top: 12px; }
.field-error { color: #a3463d; font-size: 14px; line-height: 1.7; margin: 10px 0; }
[aria-invalid="true"] { outline: 2px solid #a3463d; outline-offset: 2px; }
#audience-legacy-text { white-space: pre-wrap; overflow-wrap: anywhere; }
#offer-legacy-text, #offer-carried-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.offer-question p { line-height: 1.8; }
.offer-question .audience-numbers { margin-bottom: 18px; }
.offer-count { margin-top: 24px; }
.offer-count input { display: block; width: min(100%, 420px); box-sizing: border-box; font: inherit; padding: 14px 16px; margin-top: 12px; border: 1px solid #cddce1; border-radius: 6px; }
.offer-count label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.offer-quote-note { color: #29737f; }
@media (max-width: 680px) { .audience-numbers { grid-template-columns: 1fr; } .audience-question legend { font-size: 17px; } .audience-question-v3 { grid-template-columns: 31px minmax(0, 1fr); gap: 6px; padding: 19px 0 22px; } .audience-question-v3 label { font-size: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.position-options input:disabled + span { color: #75838d; }
.production-page button.primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 6px; background: #f25f55; color: white; padding: 15px 22px; font: inherit; font-weight: 650; cursor: pointer; }
body[data-module="private"] button.is-generating::before { content: ""; width: 16px; height: 16px; border: 2px solid #ffffff80; border-top-color: #fff; border-radius: 50%; animation: private-spin .7s linear infinite; flex: none; }
@keyframes private-spin { to { transform: rotate(360deg); } }
.production-page .input-actions { display: flex; justify-content: flex-end; margin: 20px 0; }
.production-page .context { border-left: 3px solid #81b6bd; background: #f1f8f9; padding: 18px; margin-bottom: 26px; color: #29737f; }
[data-profile] { white-space: pre-wrap; overflow-wrap: anywhere; padding-top: 14px; line-height: 1.7; }
.reply-box, .report-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.95; }
.production-page .reply-box { border: 1px solid #dbe3e6; border-radius: 6px; padding: 24px; margin-top: 18px; }
.production-page .answer-heading { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.report-meta { margin: 10px 0 0; color: #5d6f78; font-size: 14px; line-height: 1.6; }
.report-meta[data-version="legacy"] { color: #9a5a37; }
.production-page .result-section { border-top: 1px solid #dce4e8; padding-top: 28px; margin-top: 30px; }
.form-status, #page-status { color: #a3463d; line-height: 1.7; }
.form-status[data-tone="info"], #page-status[data-tone="info"] { color: #526875; }
.form-status[data-tone="success"], #page-status[data-tone="success"] { color: #287a6f; }
.autosave-status { color: #639879; font-size: 13px; }
.workspace-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-page { color: #171b20; }
body[data-module] .guide-heading h1, body[data-module] .archive-heading h1 { font-family: inherit; font-size: 30px; line-height: 1.5; margin: 0; }
.guide-heading p, .archive-heading p { color: #657580; font-size: 17px; line-height: 1.7; margin: 8px 0 26px; }
.guide-page h2 { display: flex; align-items: center; gap: 20px; font-size: 23px; margin: 0 0 22px; }
.guide-number { font-size: 32px; font-weight: 750; line-height: 1.2; }
.guide-assets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 28px; padding: 30px; background: #fb4e52; color: white; border-radius: 6px; }
.guide-asset-title { display: flex; align-items: flex-start; gap: 18px; }
.guide-asset-title p { margin: 0 0 8px; font-size: 16px; }
.guide-assets .guide-asset-title h2 { font-size: 36px; margin: 0; }
.guide-asset-reasons { border-left: 1px solid #ffffff66; padding-left: 28px; font-size: 17px; line-height: 1.8; }
.guide-asset-reasons p { margin: 4px 0; }
.guide-path, .guide-tools, .guide-archive { padding: 28px 0; border-bottom: 1px solid #dfe5e8; }
.guide-path h2 { color: #008a70; }
.guide-path-groups { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; }
.guide-steps { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; list-style: none; padding: 0; margin: 0 0 20px; }
.guide-steps li { text-align: center; position: relative; min-width: 0; }
.guide-steps li:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: calc(50% + 28px); width: calc(100% - 56px); height: 1px; background: #008a70; }
.guide-steps span { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 12px; background: #e4f4ee; border-radius: 50%; font-size: 21px; font-weight: 650; }
.guide-steps strong { display: block; font-size: 17px; font-weight: 600; }
.guide-path-groups p { border-top: 1px solid #008a70; padding-top: 14px; margin: 0; font-size: 14px; line-height: 1.8; }
.guide-tools h2 { color: #0765c9; }
.guide-tools dl { margin: 0 0 0 68px; }
.guide-tools dl > div { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 10px 0; }
.guide-tools dt { font-size: 21px; font-weight: 650; }
.guide-tools dd { margin: 0; font-size: 16px; line-height: 1.8; }
.guide-archive { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 26px; align-items: center; border: 0; }
.guide-archive h2 { color: #793863; margin: 0; }
.guide-archive h2 a { color: inherit; text-decoration: none; }
.guide-archive p { margin: 0; color: #657580; font-size: 16px; line-height: 1.8; }
.archive-enter { color: #793863; grid-column: 2; font-size: 15px; text-underline-offset: 4px; width: fit-content; }
.archive-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.archive-private { display: inline-flex; white-space: nowrap; gap: 8px; align-items: center; color: #793863; font-size: 13px; }
.archive-private svg { width: 16px; height: 16px; }
.archive-tabs { display: flex; gap: 10px 20px; flex-wrap: wrap; border-bottom: 1px solid #dfe5e8; }
.archive-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; color: #53656e; padding: 13px 0; font: inherit; font-size: 15px; cursor: pointer; }
.archive-tabs button[aria-selected="true"] { color: #793863; border-bottom-color: #793863; font-weight: 650; }
.archive-toolbar { display: flex; gap: 18px; align-items: end; margin: 22px 0 12px; }
.archive-toolbar label { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.archive-toolbar select { max-width: 220px; padding: 10px; border: 1px solid #dfe5e8; border-radius: 4px; background: white; font: inherit; }
.archive-hint, #archive-detail-time { font-size: 13px; color: #657580; line-height: 1.8; }
#archive-notice { font-size: 14px; color: #963f38; line-height: 1.8; }
.archive-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.archive-table th, .archive-table td { padding: 18px 12px; text-align: left; border-bottom: 1px solid #dfe5e8; overflow-wrap: anywhere; line-height: 1.7; }
.archive-table th { background: #f6f8f9; font-size: 13px; color: #657580; font-weight: 500; }
.archive-table th:first-child { width: 45%; }
.archive-table th:last-child { width: 65px; }
.archive-open { color: #793863; border: 0; background: transparent; font: inherit; padding: 6px; cursor: pointer; white-space: nowrap; min-width: 44px; }
.archive-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin: 20px 0; font-size: 14px; }
#archive-empty { padding: 30px 12px; color: #657580; line-height: 1.8; }
#archive-detail { margin-top: 28px; border-top: 1px solid #dfe5e8; padding-top: 26px; }
.archive-detail-heading { display: flex; gap: 16px; justify-content: space-between; align-items: start; }
.archive-detail-heading > div:last-child { display: flex; gap: 8px; }
.archive-detail-heading h2 { font-size: 21px; margin: 0; }
#archive-detail-body { margin-top: 18px; font-size: 16px; }
@media (max-width: 960px) {
  .guide-assets { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .guide-asset-reasons { border: 0; padding-left: 0; }
  .guide-archive { grid-template-columns: 1fr; }
  .archive-enter { grid-column: 1; }
}
@media (max-width: 680px) {
  body[data-module] .guide-heading h1, body[data-module] .archive-heading h1 { font-size: 24px; }
  .guide-heading p { font-size: 15px; }
  .guide-page h2 { gap: 12px; font-size: 21px; }
  .guide-number { font-size: 26px; }
  .guide-assets .guide-asset-title h2 { font-size: 26px; }
  .guide-asset-title { gap: 12px; }
  .guide-asset-reasons { font-size: 15px; }
  .guide-path-groups { grid-template-columns: 1fr; gap: 26px; }
  .guide-tools dl { margin-left: 0; }
  .guide-tools dl > div { grid-template-columns: 95px minmax(0, 1fr); gap: 14px; }
  .guide-tools dt { font-size: 18px; }
  .guide-tools dd { font-size: 14px; }
  .archive-heading { flex-wrap: wrap; gap: 0; }
  .archive-private { margin-bottom: 20px; }
  .archive-table thead { display: none; }
  .archive-table tr { display: grid; grid-template-columns: 1fr 1fr auto; padding: 14px 0; border-bottom: 1px solid #dfe5e8; }
  .archive-table td { display: block; padding: 4px; border: 0; font-size: 13px; }
  .archive-table td:first-child { grid-column: 1 / -1; font-size: 16px; font-weight: 550; }
  .archive-tabs { gap: 0 18px; }
  .archive-detail-heading { flex-wrap: wrap; }
}
.workspace-links a { display: flex; align-items: center; gap: 15px; padding: 23px; border: 1px solid #dde7e8; border-radius: 6px; color: #285e67; text-decoration: none; background: #fbfdfd; }
.workspace-links a svg:last-child { margin-left: auto; width: 18px; }
.recent-section { margin-top: 32px; }
#recent-results a, #history-list a { display: block; padding: 14px 0; color: #287582; text-decoration: none; border-bottom: 1px solid #e2e9ec; overflow-wrap: anywhere; }
#report-history { margin-top: 28px; }
button:disabled { cursor: progress !important; opacity: .65; }
.production-page .icon-button { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #dce4e8; border-radius: 6px; background: white; color: #50717a; cursor: pointer; }
.boot-status { margin: 30px; color: #657a83; }
[data-module="content"] .analysis-panel { display: grid; gap: 18px; white-space: normal; }
[data-module="content"] .analysis-panel p { margin: 0; white-space: pre-wrap; line-height: 1.95; }
@media (max-width: 680px) { body[data-module] .page { padding: 24px 16px; } body[data-module] h1 { font-size: 29px; } .profile-fields, .workspace-links { grid-template-columns: 1fr; } .page-heading { flex-wrap: wrap; } .production-page .reply-box { padding: 18px; } }

.invitation-entry { width: min(100%, 500px); margin: 32px auto; color: #26343b; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
html[data-access-pending] .shell { display: block; }
html[data-access-pending] .shell > aside, html[data-access-pending] main > header { display: none; }
html[data-access-pending] body { background: white; }
.invitation-entry * { box-sizing: border-box; }
.invitation-entry [hidden] { display: none !important; }
.invitation-entry .invitation-brand { color: #53777e; font-size: 14px; margin: 0 0 18px; }
.invitation-entry h1 { font-size: 30px; margin: 0 0 30px; line-height: 1.35; }
.invitation-browser-handoff { border-left: 3px solid #79aab1; padding-left: 14px; margin: 0 0 24px; }
.invitation-browser-handoff p { margin: 0 0 12px; color: #45636b; font-size: 14px; line-height: 1.7; }
.invitation-browser-handoff .invitation-secondary { min-height: 40px; }
.invitation-tabs { display: flex; border-bottom: 1px solid #dce5e8; margin-bottom: 28px; }
.invitation-tabs button { padding: 12px 18px; background: transparent; color: #647981; border: 0; border-bottom: 2px solid transparent; font: inherit; cursor: pointer; }
.invitation-tabs button[aria-selected="true"] { color: #d64b43; border-bottom-color: #ed655b; }
.invitation-entry label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.invitation-entry input { display: block; width: 100%; min-height: 48px; border: 1px solid #cbd8dd; border-radius: 6px; padding: 11px 12px; font: inherit; font-size: 15px; color: #26343b; background: white; }
.invitation-entry input:focus { outline: 2px solid #79aab1; outline-offset: 2px; }
.invitation-entry details { margin-top: 20px; color: #38727b; font-size: 14px; }
.invitation-entry summary { cursor: pointer; }
.invitation-status { color: #af3732; min-height: 24px; font-size: 14px; line-height: 1.6; margin: 18px 0 10px; overflow-wrap: anywhere; }
.invitation-submit { width: 100%; min-height: 48px; border: 0; border-radius: 6px; background: #e65349; color: white; font: inherit; font-weight: 600; cursor: pointer; }
.invitation-submit:disabled { opacity: .6; cursor: wait; }
.invitation-recovery { padding: 24px 20px; }
.invitation-recovery h1 { margin-bottom: 16px; }
.invitation-recovery > p:not(.invitation-help) { line-height: 1.7; margin: 0 0 24px; }
.invitation-recovery .invitation-help { margin-bottom: 16px; }
.invitation-secondary { width: 100%; min-height: 44px; border: 1px solid #cbd8dd; border-radius: 6px; background: white; color: #345f69; font: inherit; cursor: pointer; }
.invitation-help { color: #708189; font-size: 13px; line-height: 1.6; margin-top: 20px; }
@media (max-width: 560px) { .invitation-entry { margin: 20px auto; } .invitation-entry h1 { font-size: 26px; } }
