/* Scoped to the eight-entry research workspace and its manuscript lifecycle. */
.assistant-workspace.product-designed .assistant-task-home>section:is(.design-line,.writing-line)>.assistant-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;align-items:stretch}
.manuscript-fusion-document{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px;padding:18px 0;border-block:1px solid #d6dde3;color:#213142}
.manuscript-fusion-context{display:grid;gap:6px;min-width:0}
.manuscript-fusion-context strong{font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.manuscript-fusion-context span{color:#536474;font-size:14px}
.manuscript-fusion-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-drafting-heading>div>span{display:none}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-composition-heading{display:none}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-composition-setup{display:block}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-composition-boundary{display:none}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-composition-form>header>div>span,
.research-drafting-workspace:has(.manuscript-fusion-document) .research-composition-output>header>div>span{display:none}
.research-drafting-workspace:has(.manuscript-fusion-document) button:focus-visible{outline:2px solid #24699c;outline-offset:3px}
.research-drafting-workspace:has(.manuscript-fusion-document) textarea{caret-color:#24699c}
.research-drafting-workspace:has(.manuscript-fusion-document) ::selection{background:#dcecf8;color:#142c3e}
.research-drafting-workspace:has(.manuscript-fusion-document) [hidden]{display:none!important}
@media(max-width:1100px){.assistant-workspace.product-designed .assistant-task-home>section:is(.design-line,.writing-line)>.assistant-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.manuscript-fusion-document{align-items:flex-start;flex-direction:column;gap:14px}.manuscript-fusion-actions{width:100%;gap:8px}.manuscript-fusion-actions button{flex:1;min-height:44px}}
@media(max-width:540px){.assistant-workspace.product-designed .assistant-task-home>section:is(.design-line,.writing-line)>.assistant-task-grid{grid-template-columns:minmax(0,1fr)}}

.manuscript-fusion-quality-stage{border:0;margin:0;padding:0;min-width:0}

.assistant-workspace.product-designed .assistant-task-home article.assistant-task-card{grid-column:auto!important;border-bottom:0;min-height:220px;gap:12px}
.assistant-workspace.product-designed .assistant-task-home article.assistant-task-card:not(:last-child){border-right:1px solid #e5e8ed!important}
.assistant-workspace.product-designed .assistant-task-home article.assistant-task-card>footer.assistant-task-card-primary-action{margin-top:auto;padding-top:10px}
@media(max-width:1100px){.assistant-workspace.product-designed .assistant-task-home article.assistant-task-card{border-bottom:1px solid #e5e8ed}}
@media(max-width:540px){.assistant-workspace.product-designed .assistant-task-home article.assistant-task-card{min-height:0;border-right:0!important}.assistant-workspace.product-designed .assistant-task-home article.assistant-task-card:not(:last-child){border-right:0!important}}

.assistant-workspace.product-designed,.research-drafting-workspace:has(.manuscript-fusion-document){font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.research-drafting-workspace:has(.manuscript-fusion-document) .r21-quota-boundary>fieldset{border:0;padding:0;margin:0;min-width:0}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-drafting-heading{background:none;border:0;border-radius:0;box-shadow:none;padding:0 0 20px}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-drafting-route>header>span{display:none}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-drafting-route>div>button{min-height:132px;background:#fff;text-align:left}
.research-drafting-workspace:has(.manuscript-fusion-document) .research-drafting-route>div>button:hover{background:#f3f7fb;border-color:#24699c}
