/* 审核与商品编辑：作品、需要人确认的内容、AI 建议保持清楚的主次。 */
#view .review-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: 15px; font-weight: 650; line-height: 1.6; letter-spacing: .04em; }
#view .review-eyebrow .i { width: 17px; height: 17px; }

/* 设计审核：主区看作品，右侧保留简报和下一步。 */
#view[data-page="batch"] .design-page-head { padding-bottom: 22px; border-bottom: 1px solid var(--border); }
#view[data-page="batch"] .design-page-head h1 { max-width: 980px; font-size: 30px; line-height: 1.45; overflow-wrap: anywhere; margin-top: 7px; }
#view[data-page="batch"] .design-page-head .sub { max-width: 980px; font-size: 16px; }
#view[data-page="batch"] .dlayout { grid-template-columns: minmax(0, 1fr) 328px; gap: 24px; }
#view .review-stage-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: 0 0 20px; }
#view .review-stage-head h2 { font-size: 23px; line-height: 1.5; }
#view .review-stage-head p { margin-top: 5px; color: var(--text-2); font-size: 16px; line-height: 1.7; }
#view .review-counts { display: flex; gap: 8px; flex-wrap: wrap; font-size: 15px; font-variant-numeric: tabular-nums; }
#view .review-counts > span { padding: 6px 10px; border-radius: 7px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
#view .review-counts > .approved { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
#view .review-counts b { font-weight: 650; }
#view .design-review-stage .dgrid { grid-template-columns: repeat(auto-fill, minmax(min(248px, 100%), 1fr)); gap: 20px; }
#view .design-review-stage .ditem { border-width: 1px; box-shadow: none; }
#view .design-review-stage .ditem.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
#view .design-review-stage .ditem .dimg { aspect-ratio: 4 / 5; background: var(--surface-2); }
#view .design-review-stage .dimg:has(.dpreview-pair) { aspect-ratio: 3 / 2; }
#view .design-review-stage .dpreview-pair > span > em { font-size: 15px; }
#view .design-review-stage .dpick { padding: 16px; align-items: flex-start; gap: 10px; }
#view .design-review-stage .dpick b { font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; }
#view .design-review-stage .dpick em { font-size: 16px; line-height: 1.7; white-space: normal; overflow-wrap: anywhere; margin-top: 5px; }
#view .design-review-stage .dpick .pill { font-size: 14px; margin-top: 3px; }
#view .design-review-stage .dact, #view .design-review-stage .drev { padding-left: 16px; padding-right: 16px; padding-bottom: 16px; }
#view .design-review-stage .dact .btn { font-size: 16px; min-height: 42px; }
#view .design-review-stage .drev-bar { flex-wrap: wrap; }
#view .design-review-stage .dart { width: 78px !important; height: 78px !important; right: 12px; bottom: 12px; box-shadow: var(--shadow-sm); }
#view .design-review-stage .dimg:has(.dpreview-pair) .dart { right: calc(50% - 39px); bottom: 8px; }
#view .design-review-empty { min-height: 300px; display: grid; align-content: center; }
#view .review-empty-content { padding: 36px 26px; display: grid; justify-items: center; gap: 12px; text-align: center; }
#view .review-empty-content > .i { width: 34px; height: 34px; color: var(--brand); }
#view .review-empty-content h3 { font-size: 20px; }
#view .review-empty-content p { font-size: 16px; color: var(--text-2); max-width: 390px; line-height: 1.8; }
#view .dbrief { top: 24px; box-shadow: none; border-radius: 12px; }
#view .dbrief .card-head { align-items: flex-start; padding: 20px; background: var(--surface-2); }
#view .dbrief h2 { font-size: 21px; }
#view .dbrief .card-head p, #view .dbrief .card-body .small, #view .dbrief .card-foot .small { font-size: 16px; line-height: 1.7; }
#view .dbrief .card-head > .link-btn { font-size: 15px; white-space: nowrap; padding-top: 3px; }
#view .dbrief .label { color: var(--text); font-size: 16px; margin-top: 20px; }
#view .dbrief .label:first-child { margin-top: 0; }
#view .dbrief .tag { font-size: 15px; border-radius: 6px; padding: 4px 8px; line-height: 1.6; }
#view .dbrief .dref { width: 80px; height: 80px; object-fit: contain; background: var(--surface-2); }
#view .dbrief .design-ref .link-btn { font-size: 15px; white-space: normal; text-align: left; }
#view .dbrief .research-sources { margin-top: 22px; font-size: 16px; }
#view .dbrief .research-sources ol { padding-left: 22px; }
#view .dbrief .research-sources li { margin-top: 12px; overflow-wrap: anywhere; }
#view .dbrief .dsend { background: var(--surface-2); padding: 20px; gap: 14px; }

/* 商品资料：清晰的检查摘要、分区序号和独立的助手。 */
#view .editor { grid-template-columns: minmax(0, 1fr) 344px; gap: 24px; }
#view .draft-head { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); gap: 15px; }
#view .draft-head .info h1 { margin-top: 5px; font-size: 26px; line-height: 1.45; overflow-wrap: anywhere; }
#view .draft-head .thumb0 { width: 68px; height: 82px; border-radius: 10px; }
#view .draft-head .info .line { font-size: 15px; gap: 8px; line-height: 1.7; }
#view .draft-review-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 16px 18px; border: 1px solid var(--border); background: var(--surface); border-left: 3px solid var(--amber-dot); border-radius: 9px; }
#view .draft-review-summary > span { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
#view .draft-review-summary > span > .i { width: 18px; height: 18px; color: var(--amber); }
#view .draft-review-summary p { flex-basis: 100%; order: 2; color: var(--text-2); font-size: 16px; line-height: 1.7; }
#view .draft-review-summary > .link-btn { margin-left: auto; font-size: 16px; }
#view .draft-review-summary.is-ready { border-left-color: var(--green-dot); }
#view .draft-review-summary.is-ready > span > .i { color: var(--green); }
#view .editor .secnav { gap: 7px; padding: 16px 0; flex-wrap: wrap; margin-bottom: 8px; border-radius: 0; }
#view .editor .secnav button { font-size: 15px; min-height: 40px; padding: 7px 11px; background: var(--surface); border-radius: 7px; }
#view .editor .ed-sections { gap: 24px; }
#view .editor .ed-sec { border-radius: 12px; box-shadow: none; scroll-margin-top: 132px; margin-bottom: 0; overflow: hidden; }
#view .editor .ed-sec .card-head { background: var(--surface-2); gap: 16px; padding: 20px 22px; align-items: flex-start; }
#view .editor .ed-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; line-height: 1.5; }
#view .ed-section-index { display: inline-flex; align-items: center; justify-content: center; min-width: 29px; height: 29px; flex: none; border: 1px solid var(--border); border-radius: 6px; color: var(--brand); background: var(--surface); font-size: 14px; font-variant-numeric: tabular-nums; }
#view .editor .ed-sec .card-head p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-top: 7px; }
#view .editor .ed-sec .card-body { padding: 22px; }
#view .editor .ed-sec .head-actions { flex-wrap: wrap; justify-content: flex-end; }
#view .editor .attr-row { grid-template-columns: 150px minmax(0, 1fr) 74px; gap: 12px; padding: 18px 22px; }
#view .editor .attr-row .an, #view .editor .ev { font-size: 16px; line-height: 1.7; }
#view .editor .attr-row .aa .btn { font-size: 14px; }
#view .editor .crow-head b { font-size: 18px; }
#view .editor .crow-head .small, #view .editor .crow-regen { font-size: 15px; }
#view .editor .crow-head .swatch-dot { width: 15px; height: 15px; }
#view .editor .tile { width: 148px; }
#view .editor .tile-badge { font-size: 14px; }
#view .editor .gen .small, #view .editor .gen-opts { font-size: 15px; line-height: 1.7; }
#view .editor .flowbar { gap: 5px; }
#view .editor .flowbar > span { font-size: 15px; padding: 10px 7px; }
#view .editor .checks li { padding-top: 14px; padding-bottom: 14px; }
#view .editor .checks b { font-size: 16px; line-height: 1.7; }
#view .editor .ed-chat { top: 24px; height: calc(100dvh - 48px); border-radius: 12px; box-shadow: var(--shadow-sm); }
#view .editor .chat-head { padding: 20px; background: var(--surface); gap: 12px; }
#view .editor .chat-head b { font-size: 20px; }
#view .editor .chat-head span { display: block; font-size: 16px; line-height: 1.7; margin-top: 4px; }
#view .editor .bot-ic { width: 42px; height: 42px; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--border); border-radius: 11px; }
#view .editor .chat-empty { padding: 20px 14px; gap: 14px; }
#view .editor .chat-empty > .i { width: 35px; height: 35px; }
#view .editor .chat-empty h3 { font-size: 20px; color: var(--text); }
#view .editor .chat-empty p { font-size: 16px; line-height: 1.9; }
#view .editor .chat-empty > span { font-size: 15px; color: var(--text-3); padding-top: 14px; border-top: 1px solid var(--border); }
#view .editor .quick { padding: 14px; gap: 8px; background: var(--surface); }
#view .editor .quick button { font-size: 15px; min-height: 38px; padding: 6px 10px; border-radius: 7px; }
#view .editor .ed-chat > .composer { padding: 14px; border-top: 1px solid var(--border); }
#view .editor .input-row { padding: 8px; }
#view .editor .input-row textarea { font-size: 16px; line-height: 1.75; min-width: 0; }
#view .editor .input-row > button { flex: none; }

/* 待确认：左清单、右任务，状态和操作在各自区域固定。 */
#view[data-page="inbox"] .inbox { grid-template-columns: 320px minmax(0, 1fr); }
#view[data-page="inbox"] .inbox-list { max-height: calc(100dvh - 64px); top: 0; }
#view[data-page="inbox"] .inbox-list > header { padding: 26px 22px 22px; gap: 8px; background: var(--surface); }
#view[data-page="inbox"] .inbox-list h1 { display: flex; align-items: center; gap: 10px; font-size: 25px; line-height: 1.5; }
#view[data-page="inbox"] .inbox-list h1 b { display: inline-flex; justify-content: center; align-items: center; min-width: 31px; height: 31px; padding: 0 7px; border-radius: 8px; color: var(--brand); background: var(--brand-soft); font-size: 18px; font-variant-numeric: tabular-nums; }
#view[data-page="inbox"] .inbox-list header > .muted { font-size: 16px; line-height: 1.7; }
#view[data-page="inbox"] .inbox-row { padding: 18px 20px; gap: 12px; }
#view[data-page="inbox"] .inbox-row .ir-main b { font-size: 16px; line-height: 1.65; }
#view[data-page="inbox"] .inbox-row img, #view[data-page="inbox"] .inbox-row .ph { width: 52px; height: 62px; flex-basis: 52px; }
#view[data-page="inbox"] .ir-tags { gap: 6px; margin-top: 5px; }
#view[data-page="inbox"] .itag { font-size: 14px; padding: 3px 8px; line-height: 1.5; }
#view[data-page="inbox"] .dt-head { gap: 16px; padding: 25px 28px; align-items: center; border-bottom: 1px solid var(--border); }
#view[data-page="inbox"] .dt-head h2 { -webkit-line-clamp: 2; font-size: 24px; line-height: 1.45; margin-top: 5px; }
#view[data-page="inbox"] .dt-head p { font-size: 16px; line-height: 1.7; margin-top: 8px; }
#view[data-page="inbox"] .dt-head .dt-cover img { width: 68px; height: 82px; }
#view[data-page="inbox"] .dt-body { max-width: none; padding: 26px 28px; gap: 22px; }
#view[data-page="inbox"] .icard { box-shadow: none; border-radius: 12px; }
#view[data-page="inbox"] .icard > header { padding: 18px 22px; flex-wrap: wrap; gap: 10px; background: var(--surface-2); }
#view[data-page="inbox"] .icard > header > .small { font-size: 16px; line-height: 1.7; }
#view .review-issue-number { color: var(--text-3); font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
#view[data-page="inbox"] .icard > header h3 { margin: 0; font-size: 17px; font-weight: 650; border-radius: 6px; }
#view[data-page="inbox"] .icard-body { padding: 22px; gap: 16px; }
#view[data-page="inbox"] .icard-body .small, #view[data-page="inbox"] .dt-say, #view[data-page="inbox"] .kv-list li { font-size: 16px; line-height: 1.8; }
#view[data-page="inbox"] .icard > footer { padding: 16px 22px; }
#view[data-page="inbox"] .icard > footer .btn, #view[data-page="inbox"] .icard > footer .link-btn { font-size: 16px; }
#view[data-page="inbox"] .dt-pics { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; }
#view[data-page="inbox"] .dt-sec > .label { font-size: 16px; margin-bottom: 12px; }
#view[data-page="inbox"] .dt-foot { padding: 18px 28px; border-top: 1px solid var(--border); box-shadow: none; }
#view[data-page="inbox"] .dt-foot .small { font-size: 16px; }
#view[data-page="inbox"] .inbox-empty { max-width: 680px; margin: 56px auto; padding: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
#view[data-page="inbox"] .inbox-empty > .review-eyebrow { display: flex; justify-content: center; }
#view[data-page="inbox"] .inbox-empty .empty { padding: 30px 0 8px; }
#view[data-page="inbox"] .inbox-empty .empty h3 { font-size: 26px; }
#view[data-page="inbox"] .inbox-empty .empty p { font-size: 17px; line-height: 1.8; }

@media (min-width: 1101px) and (max-width: 1400px) {
  #view .editor { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  #view .editor .attr-row { grid-template-columns: 120px minmax(0, 1fr) 65px; gap: 10px; padding-left: 18px; padding-right: 18px; }
  #view .editor .chat-head { padding: 17px; gap: 10px; }
  #view .editor .chat-head b { font-size: 19px; }
  #view .editor .chat-head span { font-size: 16px; }
  #view[data-page="batch"] .dlayout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  #view .design-review-stage .dgrid { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
  #view[data-page="inbox"] .inbox { grid-template-columns: 290px minmax(0, 1fr); }
  #view[data-page="inbox"] .dt-head, #view[data-page="inbox"] .dt-body { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 1100px) {
  #view[data-page="batch"] .dlayout, #view .editor { grid-template-columns: minmax(0, 1fr); }
  #view .dbrief { position: static; }
  #view[data-page="inbox"] .inbox { grid-template-columns: minmax(0, 1fr); }
}
