.content-tabs{display:flex;gap:8px;margin:0 0 18px;padding:0 0 10px;border-bottom:1px solid #e5ebe6}.content-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,370px);gap:20px;align-items:start}.content-workspace-main{display:grid;gap:18px;min-width:0}.content-workspace-chat{position:sticky;top:20px;min-width:0}.content-workspace-chat .module-chat{margin-top:0;min-height:360px;display:flex;flex-direction:column}.content-workspace-chat .module-chat-messages{flex:1;max-height:420px}.content-workspace-chat .chat-form{margin-top:14px}.content-workspace-chat>p{padding:0 10px}.content-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.stage-card{background:#f6f9f6;border:1px solid #e4ebe4;border-radius:12px;padding:14px;min-width:0}.stage-card h3{margin:6px 0;font-size:15px}.stage-card p{font-size:13px;line-height:1.55;color:#647368;white-space:pre-wrap;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.stage-number{font-size:12px;color:#779582;font-weight:700}.content-review-notice{margin:10px 0}.content-list .table-list{max-height:420px;overflow:auto}@media(max-width:900px){.content-workspace{grid-template-columns:1fr}.content-workspace-chat{position:static;grid-row:1}.content-workspace-chat .module-chat{min-height:260px}.content-stages{grid-template-columns:1fr}}
.content-references{margin-top:14px;padding:12px 0 0;border-top:1px solid #e5ebe6}.content-references summary{cursor:pointer;font-weight:650;color:#375d49}.content-reference-row{padding:10px;border:1px solid #e4ebe4;border-radius:10px}.content-reference-row .field{margin-top:8px}.content-reference-row small{color:#697b6c}

/* 内容任务：选题证据与可下载成品 */
.local-media-panel { margin-top: 1.25rem; padding: 1rem; border: 1px solid #d8e2da; border-radius: 14px; background: #f7faf6; }
.local-media-panel h3 { margin: 0 0 .4rem; }
.local-media-panel .table-list { margin-top: .8rem; }
.local-preview { margin-top: .7rem; }
.local-poster-preview { display: block; width: min(100%, 360px); max-height: 600px; object-fit: contain; border-radius: 10px; }
.social-sources { font-size: .9rem; line-height: 1.6; margin: .5rem 0 .8rem; overflow-wrap: anywhere; }

/* Content translations are informational and never overwrite the editable source. */
.bilingual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:14px 0}
.bilingual-language{background:#fff;border:1px solid #e2e8df;border-radius:12px;padding:14px;min-width:0}
.bilingual-language h4{margin:0 0 12px;color:#394b3d}
.bilingual-field+ .bilingual-field{border-top:1px solid #eef0eb;margin-top:10px;padding-top:10px}
.bilingual-field strong{font-size:12px;color:#68766a}
.bilingual-field p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0}
@media(max-width:760px){.bilingual-grid{grid-template-columns:1fr}}

/* 内容中心：围绕一条内容的状态展开。 */
.center-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.center-intro h1{font-size:30px;margin:6px 0;color:#153c2a}
.center-intro p{color:#697a6c;margin:0;line-height:1.6}
.center-mode{display:flex;flex-direction:column;gap:5px;border:1px solid #d9e5d9;background:#f6faf5;padding:12px 16px;border-radius:12px;color:#284c37;font-size:13px}
.center-mode span{color:#6d796d}
.center-summary .actions{margin-top:16px}
.center-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.center-metrics>div{padding:14px 16px;background:#f3f7f1;border:1px solid #e1ebe0;border-radius:12px;display:flex;flex-direction:column;gap:5px}
.center-metrics strong{font-size:25px;color:#22523a}.center-metrics span,.center-metrics small{color:#647668}
.center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.center-card{min-width:0;background:#fff;border:1px solid #e0e8df;border-radius:14px;padding:16px;box-shadow:0 3px 12px rgba(34,65,43,.04)}
.center-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7e897d}
.center-status{color:#315e42;background:#eaf3e7;border-radius:999px;font-size:12px;padding:5px 10px}
.center-card h3{font-size:17px;line-height:1.4;margin:12px 0 6px;overflow-wrap:anywhere}.center-card p{font-size:13px;color:#677669;line-height:1.5;overflow-wrap:anywhere}
.center-card-video,.center-card-placeholder{display:block;width:100%;height:180px;border-radius:10px;background:#eaf0e8;object-fit:contain;margin:12px 0}
.center-card-placeholder{display:flex;align-items:center;justify-content:center;gap:8px;color:#6c8b70;font-size:24px}.center-card-placeholder span{font-size:13px}
.center-pager{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:16px;color:#647668}
.center-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.center-candidate{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:#f7faf6;border:1px solid #e3ebe2;border-radius:12px;padding:14px;min-width:0}
.center-candidate strong,.center-candidate small{overflow-wrap:anywhere}.center-candidate small{color:#647668}
.forecast-panel{background:#f4f8f2;border:1px solid #dce8da;border-radius:12px;padding:16px}.forecast-panel h3{margin:0}.forecast-panel p{margin:8px 0}.forecast-range{font-size:22px;font-weight:700;color:#22523a}
.research-quality{border-top:1px solid #dce5db;padding-top:10px;margin-top:10px}.research-quality summary{cursor:pointer;font-weight:600;color:#315e42}
@media(max-width:900px){.center-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.center-intro{flex-direction:column}}
@media(max-width:600px){.center-grid{grid-template-columns:1fr}}
@media(max-width:760px){.center-candidates{grid-template-columns:1fr}}

/* Keep the current result visible before optional production history. */
.content-detail-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:14px;align-items:start;margin:18px 0}
.content-video-spotlight{background:#f4f8f2;border:1px solid #dce8da;border-radius:12px;padding:16px;min-width:0}
.content-video-spotlight h3{margin:0}.content-video-spotlight p{margin:6px 0;color:#647668;font-size:13px}
.content-detail-video{display:block;width:100%;height:260px;background:#152a1e;border-radius:10px;object-fit:contain}
.content-detail-placeholder{display:flex;align-items:center;justify-content:center;min-height:110px;text-align:center;padding:16px;border-radius:10px;background:#eaf0e8;color:#627568}
.content-detail-section{margin-top:14px;padding:12px 14px;border:1px solid #e0e8df;border-radius:12px;background:#fbfcfa}
.content-detail-section>summary{cursor:pointer;color:#315e42;font-weight:650}
@media(max-width:1100px){.content-detail-overview{grid-template-columns:1fr}}
@media(max-width:900px){.content-workspace-chat{grid-row:auto}.content-detail-video{height:220px}}

/* A production run has its own status, separate from publication approval. */
.production-panel{margin-top:18px;padding:16px;background:#f4f8f2;border:1px solid #dce8da;border-radius:12px}
.production-panel h3{margin:0}.production-panel p{margin:8px 0;line-height:1.55}
.production-head,.production-card-status{display:flex;align-items:center;justify-content:space-between;gap:10px}
.production-card-status{font-size:13px;color:#47604c;margin:10px 0}
.production-card-status .btn{white-space:nowrap}
.trial-automation{margin:16px 0;background:#f4f8f2;border-color:#dce8da}
.trial-automation h2{margin:0}.trial-automation p{line-height:1.55;color:#536858}

/* Compact cards keep a portrait video beside its title and production state. */
.center-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}
.center-content-card{padding:14px;display:flex;flex-direction:column;gap:12px}
.center-card-head{min-width:0}
.center-card-head small{white-space:nowrap;font-size:11px}
.center-card-body{display:grid;grid-template-columns:minmax(76px,100px) minmax(0,1fr);gap:13px;align-items:start;min-width:0}
.center-card-media,.center-card-copy{min-width:0}.center-card-media{position:relative}
.center-content-card .center-card-video,.center-content-card .center-card-placeholder{width:100%;height:auto;aspect-ratio:9/16;max-height:none;margin:0;border-radius:9px}
.center-content-card .center-card-video{object-fit:contain;background:#14291d}
.card-video-cover{position:absolute;inset:0;display:flex;justify-content:center;align-items:flex-end;padding:14px 6px;border-radius:9px;background:linear-gradient(160deg,#a8bfaa,#496e54);color:#f4f7ef;font-size:11px;pointer-events:none;z-index:1}
.center-card-media.has-frame .card-video-cover,.center-card-media.has-started .card-video-cover{display:none}
.card-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:38px;height:38px;border:1px solid #ffffffaa;border-radius:50%;background:#162c20c9;color:#fff;display:grid;place-items:center;font-size:14px;padding:0 0 0 2px;z-index:2}
.card-video-play[hidden]{display:none}
.card-video-play.is-playing{opacity:0}.center-card-media:hover .card-video-play,.card-video-play:focus-visible{opacity:1}
.center-content-card .center-card-placeholder{padding:7px;text-align:center;flex-direction:column;gap:4px;line-height:1.4}
.center-content-card .center-card-placeholder span{font-size:11px}
.center-card-copy h3{margin:0;font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.center-card-copy .center-card-topic{margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-language{font-size:10px;font-weight:700;letter-spacing:.04em;color:#72907a}
.center-card-copy .card-language-hint{font-size:11px;color:#89978a;margin:5px 0}
.center-card-copy [data-production-view="card"]>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.center-card-copy .actions{margin-top:9px}
.production-card-status{flex-wrap:wrap;justify-content:flex-start;gap:7px;margin:9px 0 0}
.production-card-status .btn{white-space:normal}

/* A video gets a portrait player, rather than a wide dark container. */
.content-detail-overview{grid-template-columns:minmax(0,232px) minmax(0,1fr)}
.content-video-spotlight{width:100%;min-width:0}
.content-detail-video,.video-preview{display:block;width:100%;height:auto;aspect-ratio:9/16;max-height:none;object-fit:contain;background:#14291d}
.video-preview{width:min(100%,200px)}
@media(max-width:1100px){.content-detail-overview{grid-template-columns:1fr}.content-video-spotlight{width:min(100%,232px);justify-self:center}}
@media(max-width:600px){.center-grid{grid-template-columns:1fr}.center-card-body{grid-template-columns:minmax(76px,100px) minmax(0,1fr)}}
.daily-topics{display:grid;gap:14px}.daily-topic{border:1px solid #dce5da;border-radius:18px;background:#fff;padding:20px}.daily-topic-heading{display:flex;align-items:flex-start;gap:14px}.daily-topic-heading>div{flex:1;min-width:0}.daily-topic-heading h3{margin:0 0 6px;color:#203c2c}.daily-topic-heading p{margin:0;color:#6d8071}.daily-topic-number{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#e6f0e0;color:#28573b;font-weight:700}.daily-topic>p{line-height:1.6}.daily-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.daily-evidence>div{background:#f5f8f3;border-radius:12px;padding:14px;overflow-wrap:anywhere}.daily-evidence-source{margin-top:10px}.daily-evidence-source small{display:block;color:#697d6d;line-height:1.6}.daily-research-status .actions{margin-top:16px}@media(max-width:650px){.daily-evidence{grid-template-columns:1fr}.daily-topic-heading{flex-wrap:wrap}.daily-topic-heading>div{flex-basis:calc(100% - 52px)}}
.daily-query-record{padding:12px 0;border-bottom:1px solid #dce5da;overflow-wrap:anywhere}.daily-query-record:last-child{border-bottom:0}.daily-query-record p{margin:6px 0;line-height:1.55}.daily-query-record strong{color:#28573b}
