/* 首页「更多」弹窗 v1（2026-10-21 用户确认投产）：居中、加宽、列表化；仅 ≥1100px。回滚=删掉 index.html 里 home-modal-v1 两行 */
@media (min-width:1100px){
html body #dashboard-workbench-v2 dialog#dwb-modal[open]{position:fixed!important;inset:0!important;margin:auto!important;width:min(920px,calc(100vw - 80px))!important;max-width:none!important;height:fit-content!important;min-height:0!important;max-height:84vh!important;display:flex!important;flex-direction:column!important;border:0!important;border-radius:14px!important;box-shadow:0 24px 64px rgba(15,23,42,.28)!important;padding:0!important;overflow:hidden!important;transform:none!important;background:#fff!important}
html body #dashboard-workbench-v2 dialog#dwb-modal::backdrop{background:rgba(15,23,42,.45)!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > header{flex:0 0 auto!important;padding:18px 24px!important;border-bottom:1px solid #eef2f7!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > header h2{font-size:17px!important;font-weight:600!important;color:#0f172a!important;display:flex!important;align-items:baseline!important;gap:10px!important;margin:0!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > header h2 .hpm-count{font-size:13px!important;font-weight:400!important;color:#94a3b8!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > header button{width:32px!important;height:32px!important;border-radius:8px!important;font-size:20px!important;color:#64748b!important;display:grid!important;place-items:center!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > header button:hover{background:#f1f5f9!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > .body{flex:1 1 auto!important;max-height:none!important;overflow-y:auto!important;padding:16px 24px 20px!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > footer{flex:0 0 auto!important;display:flex!important;justify-content:flex-end!important;gap:10px!important;padding:12px 24px!important;border-top:1px solid #eef2f7!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > footer button{height:34px!important;padding:0 18px!important;border-radius:8px!important;font-size:13px!important}
/* 分类筛选 */
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-tabs{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin:0 0 14px!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-tabs button{height:30px!important;padding:0 14px!important;border-radius:15px!important;border:0!important;background:#f1f5f9!important;color:#334155!important;font-size:13px!important;cursor:pointer!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-tabs button em{font-style:normal!important;margin-left:4px!important;color:#94a3b8!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-tabs button.on{background:#2563eb!important;color:#fff!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-tabs button.on em{color:rgba(255,255,255,.8)!important}
/* 列表 */
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-head,html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-row{display:grid!important;grid-template-columns:92px minmax(0,1fr) 190px 104px!important;align-items:center!important;column-gap:16px!important}
html body #dashboard-workbench-v2 dialog#dwb-modal.hpm-expiry .hpm-head,html body #dashboard-workbench-v2 dialog#dwb-modal.hpm-expiry .hpm-row{grid-template-columns:minmax(0,1fr) 190px 104px!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-head{padding:0 14px 8px!important;font-size:12px!important;color:#94a3b8!important;border-bottom:1px solid #eef2f7!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-row{padding:12px 14px!important;border-bottom:1px solid #f1f5f9!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-row:hover{background:#f8fafc!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-type{justify-self:start!important;font-size:12px!important;font-weight:500!important;line-height:22px!important;padding:0 10px!important;border-radius:6px!important;white-space:nowrap!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-type.red{background:#fef2f2!important;color:#dc2626!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-type.orange{background:#fff7ed!important;color:#c2410c!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-type.blue{background:#eff6ff!important;color:#2563eb!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-type.purple{background:#f5f3ff!important;color:#7c3aed!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-type.gray{background:#f1f5f9!important;color:#475569!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-main{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-main b{font-size:14px!important;font-weight:600!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-main small{font-size:12px!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-date{display:flex!important;align-items:center!important;gap:8px!important;font-size:13px!important;color:#334155!important;font-variant-numeric:tabular-nums!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-date .muted{color:#cbd5e1!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-due{font-size:12px!important;line-height:20px!important;padding:0 8px!important;border-radius:10px!important;white-space:nowrap!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-due.late,html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-due.soon{background:#fef2f2!important;color:#dc2626!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-due.warn{background:#fff7ed!important;color:#c2410c!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-due.ok{background:#f1f5f9!important;color:#64748b!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-act{display:flex!important;justify-content:flex-end!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-act .hpm-btn{height:30px!important;padding:0 14px!important;border-radius:8px!important;border:1px solid #2563eb!important;background:#fff!important;color:#2563eb!important;font-size:13px!important;font-weight:500!important;white-space:nowrap!important;cursor:pointer!important;text-decoration:none!important}
html body #dashboard-workbench-v2 dialog#dwb-modal .hpm-act .hpm-btn:hover{background:#2563eb!important;color:#fff!important}
/* 详情类（键值表）弹窗 */
html body #dashboard-workbench-v2 dialog#dwb-modal > .body dl{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;margin:0!important;border:1px solid #eef2f7!important;border-radius:10px!important;overflow:hidden!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > .body dl dt,html body #dashboard-workbench-v2 dialog#dwb-modal > .body dl dd{padding:11px 16px!important;margin:0!important;border-bottom:1px solid #f1f5f9!important;font-size:13px!important;line-height:1.6!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > .body dl dt{background:#f8fafc!important;color:#64748b!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > .body dl dd{color:#0f172a!important;overflow-wrap:anywhere!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > .body dl dt:nth-last-of-type(1),html body #dashboard-workbench-v2 dialog#dwb-modal > .body dl dd:last-of-type{border-bottom:0!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > .body .inline-note{display:none!important}
html body #dashboard-workbench-v2 dialog#dwb-modal > .body .empty{padding:28px 12px!important;background:#f8fafc!important;border-radius:10px!important}
}
