.desk-window .desk-daily {
  min-width: 0;
  container-type: inline-size;
}
.desk-window .desk-daily .page-head { align-items: center; }
.desk-window .desk-daily .btn.primary { background: var(--blue-strong); border-color: var(--blue-strong); color: #fff; }
.desk-window .desk-daily .btn.primary:hover { background: #244b74; }
.desk-window .desk-daily .btn.quiet { color: #355e8b; }
.desk-platform-icon { width: 20px; height: 20px; box-sizing: border-box; flex: none; object-fit: contain; border-radius: var(--radius-small); padding: 2px; }
.desk-platform-doudian { background: #181a21; }
.desk-platform-shipinhao { background: #fff4e4; }
.desk-platform-buyin { background: #fff; }
.desk-platform-kuaishou { background: #fff1e9; }
.desk-platform-xiaohongshu { background: #e60033; }
.dh-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 16px; border-radius: var(--radius-panel); border: 1px solid #dbe2ea; background: #fff; }
.dh-stats a { position: relative; min-width: 0; padding: 13px 18px; color: #273a50; border-radius: inherit; }
.dh-stats a:hover, .dh-channel-list a:hover { background: #f2f6fb; }
.dh-stats a + a::before { content: ''; position: absolute; inset: 13px auto 13px -1px; width: 1px; background: #dfe6ed; }
.dh-stats .dh-stat-label { display: flex; align-items: center; gap: 7px; font-size: var(--type-caption); color: #50647c; font-weight: 600; }
.dh-stat-label svg { width: 15px; height: 15px; }
.dh-stats a > div { display: flex; align-items: baseline; gap: 5px; margin: 3px 0 0; }
.dh-stats a > div strong { font-size: 27px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.dh-stats a > div span, .dh-stats a > small { font-size: var(--type-caption); color: #57697e; }
.dh-panel { min-width: 0; margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: #fff; overflow: hidden; }
.dh-panel .da-panel-head { padding-inline: 17px; }
.dh-scene { display: flex; align-items: center; gap: 13px; padding: 14px 17px; }
.dh-scene > .scene-photo { position: static; width: 88px; height: 52px; flex: none; object-fit: cover; border-radius: var(--radius-small); }
.dh-scene strong, .dh-source strong { color: var(--ink); }
.dh-scene small, .dh-kind small, .dh-account small, .dh-package small { display: block; margin-top: 2px; color: var(--muted); font-size: var(--type-caption); }
.dh-task { display: grid; grid-template-columns: minmax(110px,.8fr) repeat(2,minmax(0,1fr)) minmax(68px,.45fr); align-items: center; gap: 26px; padding: 13px 17px; border-top: 1px solid #e7ecf1; }
.dh-kind, .dh-account, .dh-empty { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dh-kind strong, .dh-account strong, .dh-package strong, .dh-empty strong { font-size: var(--type-body); overflow-wrap: anywhere; }
.dh-package > small { margin: 0 0 3px; }
.dh-package .dr-progress { max-width: 220px; }
.dh-task > .btn, .dh-source > .btn { justify-self: end; }
.dh-empty { margin: 0; color: var(--muted); padding: 20px 17px; font-size: var(--type-ui); }
.dh-empty > svg { width: 21px; height: 21px; flex: none; }
.dh-empty .btn { margin-left: 8px; }
.dh-source { display: grid; grid-template-columns: minmax(130px,1fr) minmax(0,1.8fr) auto; gap: 15px; align-items: center; padding: 12px 17px; }
.dh-source + .dh-source { border-top: 1px solid #e7ecf1; }
.dh-account .desk-platform-icon { width: 29px; height: 29px; }
.dh-channel-list { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 12px; min-width: 0; font-size: var(--type-ui); color: #5c6d7e; }
.dh-channel-list a { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--radius-small); color: #365c86; overflow-wrap: anywhere; }
.dh-channel-list svg { width: 12px; height: 12px; flex: none; }
.dh-back { display: inline-flex; align-items: center; gap: 3px; margin-bottom: 12px; color: #48627c; font-size: var(--type-caption); }
.dh-back svg { width: 13px; height: 13px; transform: rotate(180deg); }
.dh-detail-head, .dh-meta { display: flex; align-items: center; gap: 14px; }
.dh-detail-head { margin-bottom: 15px; }
.dh-detail-head .scene-photo { position: static; width: 106px; height: 65px; flex: none; object-fit: cover; border-radius: var(--radius-small); }
.dh-detail-head h1 { margin: 0 0 4px; }
.dh-meta { gap: 3px 7px; flex-wrap: wrap; color: #54687c; font-size: var(--type-caption); }
.dh-meta img { width: 16px; height: 16px; }
.dh-meta time { margin-left: 5px; }
.dh-detail .dq-diagnostics { background: #fff; }
.dh-detail .dq-diagnostics > .panel { margin: 0; border: 0; box-shadow: none; }
@container (max-width: 650px) {
  .dh-stats a { padding: 10px; }
  .dh-task { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 15px; padding: 12px; }
  .dh-kind { grid-row: 1; grid-column: 1; }
  .dh-task > .btn { grid-row: 1; grid-column: 2; }
  .dh-source { padding: 10px 12px; grid-template-columns: minmax(0,1fr) auto; }
  .dh-channel-list { grid-row: 2; }
  .dh-source > .btn { grid-row: 1; grid-column: 2; }
}
@container (max-width: 430px) {
  .dh-stats .dh-stat-label { display: block; font-size: var(--small-label); }
  .dh-stat-label svg { display: none; }
  .dh-stats a > small { display: none; }
  .dh-panel .da-panel-head { padding-inline: 12px; }
  .dh-scene { gap: 10px; padding: 12px; }
  .dh-detail-head { gap: 9px; align-items: flex-start; }
  .dh-detail-head h1 { font-size: 18px; }
  .dh-detail-head .scene-photo { width: 72px; height: 52px; }
  .dh-meta time { width: 100%; margin: 0; }
}
