.product-task-cockpit{margin:14px 0;border:1px solid #d7dee8;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.product-task-head{display:grid;grid-template-columns:minmax(300px,1fr) minmax(420px,.9fr);gap:20px;padding:18px 20px;border-bottom:1px solid #e7ebf0}
.product-task-head>div:first-child>span{display:block;color:#315ea8;font-size:12px;font-weight:700;margin-bottom:4px}.product-task-head h2{font-size:20px;line-height:1.3;margin:0;color:#172033;letter-spacing:0}.product-task-head p{margin:6px 0 0;color:#667085;font-size:13px}
.product-task-metrics{display:grid;grid-template-columns:repeat(4,minmax(82px,1fr));gap:8px}.product-task-metrics div{padding:10px 12px;border-left:3px solid #91a3bb;background:#f7f9fc}.product-task-metrics small,.product-context-grid small{display:block;color:#667085;font-size:12px}.product-task-metrics b{display:block;margin-top:2px;font-size:20px;color:#172033}
.product-task-filters{display:flex;align-items:center;gap:4px;padding:10px 20px;border-bottom:1px solid #edf0f4;overflow:auto}.product-task-filters button{height:30px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:#526176;font-weight:600;white-space:nowrap}.product-task-filters button.active{color:#174ea6;border-bottom-color:#174ea6}
.product-task-list{padding:0 20px 12px}.product-task-row{width:100%;min-height:58px;display:grid;grid-template-columns:36px minmax(0,1fr) 100px 44px;gap:10px;align-items:center;padding:10px 0;border:0;border-bottom:1px solid #edf0f4;background:#fff;text-align:left;color:#172033}.product-task-row:hover{background:#f8fafc}.product-task-row span:nth-child(2){min-width:0}.product-task-row b,.product-task-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-task-row small{margin-top:4px;color:#667085;font-size:12px}.product-task-row em{font-style:normal;color:#526176;font-size:12px;text-align:right}.product-task-row i{font-style:normal;color:#174ea6;font-size:12px;font-weight:700}
.product-priority{width:28px;height:28px;display:grid;place-items:center;background:#fff8e8;border:1px solid #f4cc71;color:#8a5a00;font-size:12px;font-weight:700}.product-priority.high{background:#fff1f0;border-color:#f3aaa5;color:#b42318}.product-task-empty{padding:28px;text-align:center;color:#667085}
body.product-drawer-open{overflow:hidden}.product-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.34);z-index:15000}.product-task-drawer{position:fixed;z-index:15001;right:0;top:0;bottom:0;width:min(72vw,1180px);min-width:760px;background:#f7f9fc;box-shadow:-18px 0 50px rgba(15,23,42,.18);display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.product-task-drawer header{display:flex;justify-content:space-between;gap:20px;padding:20px 24px;background:#fff;border-bottom:1px solid #dbe1e8}.product-task-drawer header span{color:#315ea8;font-size:12px;font-weight:700}.product-task-drawer header h2{margin:5px 0;font-size:22px;letter-spacing:0}.product-task-drawer header p{margin:0;color:#667085;font-size:13px}.product-task-drawer header button{width:36px;height:36px;border:1px solid #d7dee8;background:#fff;font-size:24px;line-height:1}
.product-drawer-body{overflow:auto;padding:18px 24px}.product-drawer-body section{margin-bottom:14px;padding:16px;background:#fff;border:1px solid #dfe5ec}.product-drawer-body h3{margin:0 0 12px;font-size:15px;letter-spacing:0}.product-context-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.product-context-grid div{padding:10px;background:#f7f9fc;border-left:3px solid #8da0b8}.product-context-grid b{display:block;margin-top:4px;font-size:13px}
.product-lineage{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.product-lineage div{padding:12px;border:1px solid #dfe5ec;background:#fafbfd}.product-lineage span,.product-lineage small,.product-lineage b{display:block}.product-lineage span{color:#315ea8;font-size:11px;font-weight:700}.product-lineage b{margin:4px 0;font-size:13px}.product-lineage small{color:#667085;font-size:11px}
.product-drawer-body textarea{width:100%;min-height:92px;box-sizing:border-box;padding:10px 12px;border:1px solid #bfc9d6;background:#fff;resize:vertical}.product-audit-list div{padding:10px 0;border-bottom:1px solid #edf0f4}.product-audit-list b,.product-audit-list span{display:block;font-size:12px}.product-audit-list span,.product-audit-list p{margin:3px 0 0;color:#667085;font-size:12px}
.product-task-drawer footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 24px;background:#fff;border-top:1px solid #dbe1e8}.product-task-drawer footer button{min-height:36px;padding:0 16px;border:1px solid #aeb9c7;background:#fff;color:#233044;font-weight:700}.product-task-drawer footer .primary{background:#174ea6;border-color:#174ea6;color:#fff}.product-task-drawer footer .warn{border-color:#d0a03b;color:#8a5a00}
.product-agent-router{margin:0 0 10px;padding:12px;border:1px solid #d7dee8;background:#f8fafc}.product-agent-router>div:first-child{display:flex;align-items:baseline;gap:10px;margin-bottom:8px}.product-agent-router b{font-size:13px;color:#172033}.product-agent-router span{font-size:12px;color:#667085}.product-agent-router>div:last-child{display:flex;gap:6px;overflow:auto}.product-agent-router button{height:30px;padding:0 10px;border:1px solid #bfc9d6;background:#fff;color:#31506f;white-space:nowrap;font-weight:600}.product-agent-router button:hover{border-color:#315ea8;color:#174ea6}
.product-boundary-note{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;margin:12px 0;padding:11px 14px;border:1px solid #d9e1ea;border-left:4px solid #315ea8;background:#f8fafc;color:#526176;font-size:12px}.product-boundary-note b{color:#172033;font-size:13px}.product-boundary-note em{font-style:normal;color:#7a4b00;background:#fff7e6;padding:5px 8px;white-space:nowrap}
@media(max-width:1000px){.product-task-head{grid-template-columns:1fr}.product-task-drawer{width:100%;min-width:0}.product-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-boundary-note{grid-template-columns:1fr}.product-boundary-note em{white-space:normal}}
