:root{--ink:#101116;--blue:#2457ff;--green:#13c994;--lime:#b7f51d;--yellow:#ffd43b;--red:#ef5350;--paper:#fff;--bg:#f5f7fa;--muted:#626975;--line:#d9dde4;--soft:#eef1f5;--radius:8px;--shadow:0 12px 28px rgba(16,17,22,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100dvh}.topbar{height:72px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:11px;background:transparent;border:0;color:#fff;text-align:left;padding:0}.brand-mark{width:30px;height:30px;display:grid;place-items:center;background:var(--lime);color:var(--ink);font-size:14px;font-weight:900}.brand strong,.brand small{display:block}.brand strong{font-size:17px}.brand small{font-size:11px;color:#c4c9d2;margin-top:1px}.top-actions{display:flex;gap:8px}.top-button{border:1px solid #3c414b;background:transparent;color:#fff;border-radius:7px;padding:9px 12px;font-size:13px;font-weight:700}.top-button:hover,.top-button:focus-visible{background:#242730}.main{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:34px 0 58px}.screen{display:none}.screen.active{display:block}.hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:34px;align-items:end}.eyebrow{margin:0 0 10px;color:var(--blue);font-weight:900;font-size:12px}.hero h1,.report-header h1{margin:0;font-size:clamp(38px,5vw,58px);line-height:1.04;letter-spacing:0}.hero-copy{font-size:16px;line-height:1.75;color:var(--muted);max-width:670px;margin:16px 0 0}.capability-card,.panel,.stat-card,.metric-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}.capability-card{padding:17px 18px;box-shadow:var(--shadow)}.capability-title{display:flex;align-items:center;gap:9px;font-size:14px}.capability-card p{font-size:13px;color:var(--muted);line-height:1.6;margin:9px 0}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--green);flex:0 0 auto}.status-dot.warn{background:var(--yellow)}.status-dot.bad{background:var(--red)}.status-dot.lime{background:var(--lime);box-shadow:0 0 0 5px rgba(183,245,29,.12)}.text-link{border:0;background:transparent;color:var(--blue);font-weight:800;padding:0}.steps{list-style:none;padding:0;margin:27px 0 31px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.steps li{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;display:flex;align-items:center;gap:12px}.steps li.current{border:2px solid var(--blue);padding:13px 15px}.steps li>span{width:28px;height:28px;display:grid;place-items:center;background:var(--soft);font-weight:900}.steps li.current>span{background:var(--blue);color:#fff}.steps strong,.steps small{display:block}.steps strong{font-size:14px}.steps small{font-size:12px;color:var(--muted);margin-top:2px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:0 0 12px}.section-heading h2,.panel h2{font-size:22px;margin:0}.section-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.scene-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.scene-card{min-height:178px;border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:17px;text-align:left;display:flex;flex-direction:column;position:relative;transition:transform .16s,border-color .16s,box-shadow .16s}.scene-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.scene-card.selected{border:2px solid var(--blue);padding:16px;background:#f7f9ff}.scene-tag{align-self:flex-start;padding:5px 7px;background:#e9edff;color:var(--blue);font-weight:900;font-size:11px}.scene-card h3{font-size:19px;margin:15px 0 7px}.scene-card p{margin:0;color:var(--muted);line-height:1.55;font-size:13px}.scene-example{margin-top:auto!important;padding-top:15px;color:#303641!important}.scene-check{display:none;position:absolute;right:12px;top:12px;width:22px;height:22px;place-items:center;background:var(--blue);color:white;font-size:12px;font-weight:900}.scene-card.selected .scene-check{display:grid}.prepare-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:16px;margin-top:16px}.panel{padding:20px}.prepare-panel h2,.recent-panel h2{font-size:18px;margin-bottom:15px}.field-label,.goal-fieldset legend,.drawer label{display:block;color:var(--muted);font-size:12px;font-weight:900;margin-bottom:7px}.field{width:100%;border:1px solid var(--line);border-radius:7px;background:#fff;padding:12px 13px;outline:none}.field:focus,.drawer input:focus,.drawer select:focus,.drawer textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(36,87,255,.12)}.field-note{font-size:12px;color:var(--muted);line-height:1.5;margin:6px 0 10px}.question-select{font-weight:700}.question-purpose{font-size:13px;color:var(--muted);margin:8px 0 15px}.goal-fieldset{border:0;padding:0;margin:0 0 17px}.goal-list{display:flex;flex-wrap:wrap;gap:8px}.goal-button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:7px;padding:9px 11px;font-size:13px}.goal-button.selected{background:var(--ink);border-color:var(--ink);color:#fff}.primary-button,.secondary-button{border-radius:7px;font-weight:900;padding:13px 16px}.primary-button{border:0;background:var(--lime);color:var(--ink);width:100%;font-size:16px}.primary-button:hover{filter:brightness(.96)}.primary-button.compact{width:auto}.secondary-button{border:1px solid var(--line);background:#fff;color:var(--ink)}.secondary-button:hover{border-color:var(--blue);color:var(--blue)}.danger-text{color:var(--red);border-color:#f1b8b7}.microcopy,.storage-note{font-size:12px;color:var(--muted);line-height:1.55;margin:12px 0 0}.panel-heading-row{display:flex;justify-content:space-between;align-items:center}.empty-state{font-size:13px;color:var(--muted);line-height:1.65;padding:18px 0}.recent-entry{padding:13px 0;border-top:1px solid var(--line)}.recent-entry:first-child{border-top:0}.recent-entry strong{display:block;font-size:14px}.recent-entry p{font-size:13px;color:var(--muted);line-height:1.5;margin:5px 0}.recent-entry time{font-size:12px;color:var(--muted)}
.training-header{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.training-meta{font-size:13px;color:var(--muted);margin:0}.timer{font-size:40px;font-weight:950;font-variant-numeric:tabular-nums}.training-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px}.transcript-stage{min-height:460px;border-radius:var(--radius);background:var(--ink);color:#fff;padding:25px;display:flex;flex-direction:column}.live-state{display:flex;gap:9px;align-items:center;color:var(--lime);font-size:13px}.transcript-stage h1{font-size:21px;margin:26px 0 18px}.captions{font-size:24px;line-height:1.68;overflow:auto;max-height:250px;margin:auto 0;white-space:pre-wrap}.captions.editing{display:flex;max-height:250px;margin:20px 0 0}.transcript-editor{width:100%;min-height:220px;resize:vertical;border:1px solid #56606f;border-radius:6px;background:#171a20;color:#fff;font:inherit;line-height:1.68;padding:12px;outline:none}.transcript-editor:focus{border-color:var(--lime);box-shadow:0 0 0 2px rgba(166,255,0,.16)}.caption-placeholder{color:#7f8794}.interim-text{color:#a6adba}.hit-filler{color:var(--yellow);background:rgba(255,212,59,.16);padding:1px 3px}.hit-vague{color:#ff9c9a;background:rgba(239,83,80,.13);padding:1px 3px}.caption-edit-button{align-self:flex-start;margin-top:12px;border:1px solid #586273;border-radius:5px;background:transparent;color:#d7dbe2;padding:8px 12px;font-size:13px;cursor:pointer}.caption-edit-button:hover{border-color:var(--lime);color:var(--lime)}.live-hint{border-left:3px solid var(--yellow);background:#22262e;padding:12px 13px;font-size:13px;line-height:1.5;display:flex;gap:10px;margin-top:20px}.live-hint strong{color:#fff;white-space:nowrap}.live-hint span{color:#d7dbe2}.stat-stack{display:flex;flex-direction:column;gap:10px}.stat-card{padding:17px;border-top-width:4px}.stat-card.blue{border-top-color:var(--blue)}.stat-card.green{border-top-color:var(--green)}.stat-card.yellow{border-top-color:var(--yellow)}.stat-card.red{border-top-color:var(--red)}.stat-card small{display:block;color:var(--muted);font-size:12px}.stat-card strong{font-size:28px;display:block;margin-top:5px}.training-actions{display:flex;justify-content:space-between;align-items:center;margin-top:17px}
.report-header{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}.report-header h1{font-size:38px}.report-header p:not(.eyebrow){margin:8px 0 0;color:var(--muted)}.report-actions{display:flex;gap:8px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.metric-card{padding:15px}.metric-card small{display:block;color:var(--muted);font-size:12px}.metric-card strong{display:block;font-size:25px;margin-top:5px}.report-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);gap:16px}.report-layout>div,.report-layout>aside{display:flex;flex-direction:column;gap:16px}.report-section h2,.priority-panel h2,.next-panel h2{font-size:19px;margin:0 0 15px}.priority-callout{border-left:4px solid var(--blue);background:var(--soft);padding:13px 14px;line-height:1.65}.priority-callout strong{display:block;margin-bottom:4px}.completion-item{padding:12px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:22px 1fr;gap:10px}.completion-item:first-child{border-top:0}.completion-mark{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#e7f8f2;color:#087457;font-size:12px;font-weight:900}.completion-mark.miss{background:#fff2cf;color:#765c00}.completion-item strong{display:block;font-size:14px}.completion-item p{margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.5}.issue-card{padding:17px 0;border-top:1px solid var(--line)}.issue-card:first-child{border-top:0;padding-top:0}.issue-card h3{font-size:16px;margin:0}.issue-card p{font-size:13px;line-height:1.65;color:#414751}.issue-label{display:inline-block;font-size:11px;padding:4px 6px;background:#fff1c7;color:#725800;font-weight:900;margin-left:7px}.quote-block{background:var(--soft);border-left:3px solid var(--blue);padding:11px 12px;font-size:13px;line-height:1.55}.rewrite{font-size:13px;line-height:1.6;margin-top:10px}.next-goal{background:#ecf9e5;border:1px solid #cce9b8;border-radius:7px;padding:14px;line-height:1.6;font-size:14px}.next-goal strong{display:block;margin-bottom:4px}.report-facts{margin:12px 0}.fact-row{padding:11px 0;border-top:1px solid var(--line)}.fact-row strong{display:block;font-size:13px}.fact-row span{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.5}.ai-state-panel{font-size:13px;line-height:1.6}.ai-state-panel h2{font-size:17px;margin:0 0 8px}.ai-state-panel p{margin:0;color:var(--muted)}
.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;background:rgba(16,17,22,.48);z-index:50}.drawer-backdrop[hidden],.modal-backdrop[hidden]{display:none}.drawer{position:absolute;right:0;top:0;height:100%;width:min(460px,94vw);background:#fff;padding:24px;overflow:auto}.drawer-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.drawer-header h2{font-size:22px;margin:0}.close-button{width:36px;height:36px;border:0;background:var(--soft);border-radius:7px;font-size:22px}.drawer-section{padding:18px 0;border-top:1px solid var(--line)}.drawer-section:first-child{padding-top:0;border-top:0}.drawer-section h3{font-size:16px;margin:0 0 10px}.drawer input,.drawer select,.drawer textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:7px;margin-bottom:12px;outline:none}.drawer textarea{min-height:180px;resize:vertical;line-height:1.6}.drawer-help{font-size:13px;color:var(--muted);line-height:1.65}.remember-api-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:0 0 12px}.remember-api-label input{width:auto;margin:0;padding:0}.drawer-actions{display:flex;gap:8px;flex-wrap:wrap}.drawer-actions>*{flex:1}.drawer-actions .text-button{flex-basis:100%;flex-grow:0}.text-button{border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:700;padding:4px 0;text-align:left}.history-card{border:1px solid var(--line);border-radius:7px;padding:13px;margin-bottom:10px}.history-card h3{font-size:14px;margin:0}.history-card p{font-size:12px;color:var(--muted);line-height:1.5;margin:5px 0}.history-card-actions{display:flex;gap:13px;margin-top:10px}.history-card-actions button{border:0;background:transparent;color:var(--blue);font-weight:800;padding:0;font-size:12px}.history-card-actions .delete-link{color:var(--red)}.wechat-row{display:flex;align-items:center;gap:12px}.wechat-icon{width:36px;height:36px;object-fit:cover;display:block;flex:none}.confirm-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 32px));background:#fff;border-radius:var(--radius);padding:24px}.confirm-dialog h2{margin:0;font-size:21px}.confirm-dialog p{font-size:14px;color:var(--muted);line-height:1.6}.confirm-dialog>div{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);background:var(--ink);color:#fff;border-radius:7px;padding:10px 14px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:80}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.hero{grid-template-columns:1fr}.capability-card{max-width:none}.scene-grid{grid-template-columns:repeat(2,1fr)}.prepare-grid,.training-layout,.report-layout{grid-template-columns:1fr}.stat-stack{display:grid;grid-template-columns:repeat(4,1fr)}.transcript-stage{min-height:390px}.report-header{align-items:flex-start}.metric-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.topbar{height:64px;padding:0 15px}.brand strong{font-size:15px}.brand small{display:none}.top-actions{gap:5px}.top-button{font-size:12px;padding:8px}.top-actions .top-button:first-child{display:none}.main{width:calc(100% - 30px);padding:24px 0 42px}.hero{gap:18px}.hero h1{font-size:38px}.hero-copy{font-size:15px;line-height:1.65}.section-heading{margin-top:24px;margin-bottom:14px}.steps{gap:6px;margin:20px 0 26px}.steps li{display:block;padding:10px 8px}.steps li.current{padding:9px 7px}.steps li>span{margin-bottom:7px}.steps small{font-size:10px}.scene-grid{grid-template-columns:1fr;gap:9px}.scene-card{min-height:145px}.prepare-grid{gap:10px}.panel{padding:16px}.training-header{align-items:center}.timer{font-size:31px}.transcript-stage{padding:18px;min-height:430px}.captions{font-size:20px;max-height:270px}.captions.editing{max-height:270px}.transcript-editor{min-height:220px}.caption-edit-button{font-size:12px;padding:7px 10px}.stat-stack{grid-template-columns:repeat(2,1fr)}.stat-card strong{font-size:23px}.training-actions{gap:8px}.training-actions>*{flex:1}.primary-button.compact{width:auto}.report-header{display:block}.report-header h1{font-size:31px}.report-actions{margin-top:15px;display:grid;grid-template-columns:1fr 1fr}.report-actions .primary-button{grid-column:1/-1}.metric-grid{grid-template-columns:repeat(2,1fr)}.drawer{padding:20px}.drawer-actions{display:block}.drawer-actions>*{width:100%;margin-top:8px}.confirm-dialog>div{display:grid;grid-template-columns:1fr 1fr}.confirm-dialog .primary-button{width:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Brand lockup: use the existing book mark without an added frame. */
.brand-mark{width:32px;height:32px;display:block;object-fit:cover;border-radius:50%;flex:0 0 auto;background:transparent}

/* Homepage preparation hierarchy and mobile spacing */
.prepare-panel h2{font-size:22px}
.question-select{margin-bottom:16px}
.custom-question-input{margin-bottom:12px}
.goal-fieldset legend{line-height:1.6;margin-bottom:10px}
@media(max-width:620px){.section-heading + .scene-grid + .prepare-grid{margin-top:18px}.prepare-panel h2{font-size:22px}.question-select{margin-bottom:18px}.goal-fieldset{margin-top:4px}}

/* Match the review workspace brand lockup dimensions and two-line rhythm. */
.topbar{height:70px;padding:0 28px}
.brand{gap:12px}
.brand-mark{width:40px;height:40px;display:block;object-fit:cover;border-radius:50%;flex:0 0 auto;background:transparent}
.brand strong{font-size:16px;line-height:1.1;letter-spacing:.08em}
.brand small{display:block;font-size:12px;line-height:1.1;letter-spacing:.08em;margin-top:2px;color:#c4c9d2}
@media(max-width:620px){
  .topbar{height:62px;padding:0 14px}
  .brand-mark{width:34px;height:34px}
  .brand strong{font-size:14px}
  .brand small{display:block;font-size:11px;margin-top:2px}
}

/* Readability floor: supporting text stays legible on desktop and mobile. */
.brand-product,
.side-note,
.save-state,
.mini-progress,
.muted,
.section-header p,
.text-button,
.empty-state p,
.goal-foot,
.action-meta,
.action-description,
.action-content p,
.library-info p,
.stage-top,
.stage-number,
.stage-card > .muted,
.settings-title p,
.principle-card p,
.source-context,
.asset-origin,
.asset-next,
.resource-locator small { font-size: 13px; }
.eyebrow { font-size: 12px; letter-spacing: .08em; }
.nav-item { font-size: 15px; }
.text-button,
.primary-button,
.secondary-button,
.ghost-button,
.select-button,
.danger-button { font-size: 14px; }
.action-meta { line-height: 1.45; }
.action-description,
.action-content p,
.library-info p { line-height: 1.55; }
.stage-selector button { min-height: 64px; padding: 13px 8px; font-size: 14px; line-height: 1.45; }
.stage-selector button span { font-size: 12px; margin-bottom: 5px; }
.settings-title h2 { font-size: 18px; }
.principle-card h2 { font-size: 20px; }
.distribution { font-size: 12px; }
.distribution b { font-size: 12px; }
.auth-status-section { background: #f7fbff; border: 1px solid #c9def5; border-radius: 8px; padding: 16px; margin-bottom: 2px; }
.auth-status-section h3 { color: var(--navy); }
.auth-status-section .drawer-help { margin: 0 0 8px; }

/* License gate: kept in the external stylesheet because the production CSP blocks inline styles. */
.zcyj-license-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 20px !important;
  background: rgba(10, 20, 48, .58) !important;
  width: auto !important;
  height: auto !important;
  min-height: 100dvh !important;
  overflow: auto !important;
}
.zcyj-license-dialog {
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  width: min(430px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin: 0 !important;
  padding: 26px;
  color: #172033;
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(10, 20, 48, .22);
  font-family: inherit;
}
.zcyj-license-dialog h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.35; }
.zcyj-license-dialog p { margin: 0; color: #5b677a; font-size: 14px; line-height: 1.65; }
.zcyj-license-dialog label { display: block; margin: 20px 0 7px; color: #344054; font-size: 13px; font-weight: 700; }
.zcyj-license-dialog input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 16px; letter-spacing: 0; }
.zcyj-license-dialog button { width: 100%; min-height: 46px; margin-top: 14px; border: 0; border-radius: 8px; background: #2155d6; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.zcyj-license-dialog button:disabled { opacity: .6; cursor: wait; }
#zcyj-license-retry, #zcyj-license-export { background: #f1f5f9; color: #172033; border: 1px solid #d9e2ee; }
.zcyj-license-error { min-height: 21px; margin-top: 10px; color: #b42318; font-size: 13px; }
.zcyj-license-foot { margin-top: 16px !important; color: #7a8798 !important; font-size: 12px !important; }
@media (max-width: 620px) {
  .zcyj-license-backdrop { padding: 16px !important; }
  .zcyj-license-dialog { padding: 22px 20px; border-radius: 10px; }
  .zcyj-license-dialog h2 { font-size: 20px; }
}

/* Local report: simple compare-to-last trend strip. */
.trend-compare { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; font-size: 13px; }
.trend-label { color: var(--muted); font-weight: 800; margin-right: 2px; }
.trend-good { background: rgba(19, 201, 148, .16); color: #087457; border-radius: 6px; padding: 2px 9px; font-weight: 800; }
.trend-bad { background: rgba(239, 83, 80, .16); color: #c0392b; border-radius: 6px; padding: 2px 9px; font-weight: 800; }
.trend-flat { color: var(--muted); }

/* === 报告页字号上调（可读性，20260926） === */
.priority-callout { font-size: 15px; }
.report-section h2, .priority-panel h2, .next-panel h2 { font-size: 20px; }
.metric-card small { font-size: 13px; }
.issue-card h3 { font-size: 17px; }
.issue-card p, .quote-block, .rewrite, .completion-item p { font-size: 15px; }
.completion-item strong { font-size: 15px; }
.issue-label { font-size: 12px; }
.fact-row strong { font-size: 14px; }
.fact-row span { font-size: 13px; }
.next-goal { font-size: 15px; }
.ai-state-panel { font-size: 14px; }
.trend-label, .trend-flat { font-size: 13px; }

/* === 个人表达特色保留栏（正向反馈，20260926） === */
.style-panel h2 { font-size: 20px; margin: 0 0 15px; }
.style-keep { border-left: 4px solid var(--green); background: #e7f8f2; color: #087457; padding: 13px 15px; line-height: 1.65; font-size: 15px; border-radius: 0 var(--radius) var(--radius) 0; }
