:root{--ink:#22342e;--muted:#718078;--line:#dce4df;--paper:#f6f8f5;--green:#31634e;--soft:#edf3ee;--orange:#a76729}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.65,"PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button{border:1px solid var(--green);background:var(--green);color:white;border-radius:6px;padding:9px 18px;cursor:pointer;white-space:nowrap}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}button.secondary{color:var(--ink);background:white;border-color:var(--line)}button.quiet{color:var(--muted);background:transparent;border-color:transparent;padding:5px 8px}input,select,textarea{width:100%;border:1px solid #ccd7ce;border-radius:5px;padding:9px 11px;background:#fff;color:var(--ink)}textarea{resize:vertical;line-height:1.8}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #83ac93;outline-offset:2px}label{display:block;font-size:12px;letter-spacing:.02em;color:#52665a}label input,label select,label textarea{display:block;margin-top:6px}header{height:91px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:18px;font-weight:600;letter-spacing:.06em}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:.12em;color:var(--muted);margin-top:1px}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;border-radius:7px;width:38px;height:38px;font-size:19px}.connection{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.dot{width:6px;height:6px;background:#76a181;border-radius:50%}main{width:100%;padding:35px 3vw 60px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:11px;letter-spacing:.15em;color:var(--green)}h1{font-size:29px;letter-spacing:.03em;font-weight:500;line-height:1.5;margin:8px 0}h2{font-size:16px;font-weight:600;margin:0;letter-spacing:.03em}p{color:var(--muted);margin:5px 0 0;font-size:12px}.tag{display:inline-block;border:1px solid var(--line);padding:3px 9px;border-radius:4px;font-size:11px;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:28px;border-block:1px solid var(--line);padding:20px 0}.metric{padding:0 26px;border-right:1px solid var(--line)}.metric:first-child{padding-left:0}.metric:last-child{border:0}.metric small{display:block;color:var(--muted);font-size:12px}.metric strong{display:block;font-size:29px;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.3;margin-top:7px}.submit-panel{border:1px solid var(--line);padding:23px 26px;background:#fff;border-radius:8px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.dispatch-row{display:flex;align-items:end;gap:12px;margin:16px 0}.dispatch-row{flex-wrap:wrap}.dispatch-row label:first-child{flex:1 1 240px;min-width:0;max-width:400px}.dispatch-row .mode-field{flex:0 1 220px;min-width:0}.dispatch-row .computer-field{flex:1 1 240px;min-width:0;max-width:340px}.dispatch-note{margin:-4px 0 16px;overflow-wrap:anywhere}.submit-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:12px}.submit-bottom>span{color:var(--muted);font-size:12px}.submit-bottom button{padding-inline:24px}.task-section,.computer-section{margin-top:34px}.filter-label{display:flex;align-items:center;gap:10px;white-space:nowrap}.filter-label select{margin:0;min-width:150px}.count{font-weight:400;font-size:12px;color:var(--muted);margin-left:8px}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:12px}th{background:#eef2ed;color:#6a7a70;font-weight:400;font-size:11px;padding:11px 12px;border-bottom:1px solid var(--line)}td{padding:15px 12px;border-bottom:1px solid #e7ece7;background:#fff}td:first-child{white-space:normal;min-width:220px;max-width:380px}td a{color:var(--ink);text-decoration:none;word-break:break-all}td small{display:block;color:var(--muted);font-size:10px;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:6px}.badge{display:inline-block;padding:2px 7px;border-radius:4px;background:#eef1ee;color:#53655a;font-size:11px}.badge.running,.badge.completed{background:#eaf3ea;color:#3d744d}.badge.waiting_human,.badge.disconnected,.badge.failed{background:#fbefdf;color:#a06a30}.table-note{margin-top:8px;font-size:11px}.empty{padding:46px 16px;text-align:center;color:var(--muted);background:white}.computers{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.computer{border:1px solid var(--line);border-radius:6px;background:#fff;padding:18px}.computer-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.computer h3{font-size:14px;margin:0;font-weight:500}.computer p{font-size:11px;word-break:break-word}.computer .tag{margin-top:12px}.gate{max-width:500px;margin:45px auto;background:#fff;padding:32px;border:1px solid var(--line);border-radius:8px}.gate h1{font-size:26px}.gate form{margin-top:24px}.gate label{margin:14px 0}.gate button{width:100%;margin-top:12px}#message{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--ink);color:#fff;padding:12px 22px;border-radius:6px;z-index:4;box-shadow:0 5px 25px #22342e26}dialog{border:1px solid var(--line);border-radius:10px;padding:26px;width:min(640px,92vw);max-height:88vh;color:var(--ink)}dialog::backdrop{background:#233a2e55}dialog p{margin-bottom:18px}dialog label{margin-block:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.detail-top{display:flex;justify-content:space-between;align-items:center}.detail-grid{display:grid;grid-template-columns:120px 1fr;gap:7px;font-size:12px;margin:17px 0}.detail-grid dt{color:var(--muted)}.detail-grid dd{margin:0;overflow-wrap:anywhere}.detail-link{color:var(--green);font-size:12px;word-break:break-all}.timeline{list-style:none;padding:0 0 0 13px;border-left:1px solid var(--line);font-size:12px}.timeline li{position:relative;padding:0 0 18px 7px}.timeline li:before{content:"";position:absolute;left:-17px;top:8px;width:6px;height:6px;border-radius:50%;background:#8eaa94}.timeline time{display:block;font-size:10px;color:var(--muted)}.proof{background:var(--paper);border-radius:5px;padding:12px;white-space:pre-wrap;word-break:break-all;font-size:11px;max-height:210px;overflow:auto}.checkbox{display:flex;gap:10px;align-items:flex-start}.checkbox input{width:auto}button.danger{background:#fff;border-color:#d7b5a5;color:#995339}.error-text{color:#a65e39}[hidden]{display:none!important}@media(max-width:760px){header{padding:0 20px;height:76px}.brand{font-size:15px}.brand small{font-size:9px}.connection{gap:3px;font-size:10px}main{padding:25px 18px 45px}h1{font-size:23px}.page-heading{align-items:flex-start}.page-heading>.tag{font-size:10px;white-space:nowrap;margin-top:20px}.metrics{gap:14px;grid-template-columns:repeat(2,1fr)}.metric{padding:0;border:0}.metric strong{font-size:26px}.submit-panel{padding:18px}.dispatch-row{flex-wrap:wrap}.dispatch-row label:first-child{min-width:160px}.dispatch-row .mode-field,.dispatch-row .computer-field{width:100%;flex-basis:100%;margin:0;max-width:none}.submit-bottom{align-items:flex-start}.submit-bottom>span{font-size:10px}.section-title{align-items:flex-start}.filter-label{font-size:0}.filter-label select{min-width:110px;font-size:12px}.detail-grid{grid-template-columns:95px 1fr}.gate{padding:24px}.gate h1{font-size:22px}.connection #connection{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.phone-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:12px 0}.phone-row:first-of-type{margin-top:14px}.phone-row>div{min-width:0}.phone-row strong{display:block;font-size:12px;font-weight:500}.phone-row small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere}.phone-row .badge{flex-shrink:0}.phone-computer .computer-title{flex-wrap:wrap}.phone-computer>p{margin-top:6px}

#submit-results{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.submission-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:6px 0}.submission-row span{overflow-wrap:anywhere}.related-task{display:block;text-align:left;white-space:normal;margin-top:6px}.retest-note{margin-top:12px}

.link-heading,.link-tools{display:flex;align-items:center;justify-content:space-between;gap:14px}.link-heading{margin-bottom:8px}.link-tools{margin-top:8px}.link-tools p{margin:0}.link-tools button{padding:7px 14px}#links{display:block;max-height:160px;min-height:78px;overflow-wrap:anywhere}#link-feedback{margin-top:8px}.link-queue{list-style:none;padding:0;margin:14px 0 4px;border:1px solid var(--line);border-radius:6px;max-height:288px;overflow:auto}.link-row{display:flex;align-items:flex-start;gap:10px;padding:9px 12px;border-bottom:1px solid var(--line)}.link-row:last-child{border-bottom:0}.link-row details{flex:1;min-width:0}.link-row summary{display:flex;align-items:center;gap:10px;min-height:33px;cursor:pointer}.link-number{font-size:11px;color:var(--muted);min-width:20px;font-variant-numeric:tabular-nums}.link-row strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-expand{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}.link-row textarea{font-size:11px;margin-top:8px;overflow-wrap:anywhere;background:var(--paper)}.link-row summary:focus-visible{outline:2px solid #83ac93;outline-offset:2px}.link-row details[open] .link-expand{color:var(--green)}
@media(max-width:600px){.link-tools{align-items:flex-start;flex-direction:column;gap:8px}.link-tools button{align-self:flex-end}.link-row{padding:8px;gap:4px}.link-row summary{gap:5px}.link-expand{font-size:10px}.link-row .quiet{padding-inline:5px}.submit-bottom{flex-wrap:wrap}.submit-bottom button{margin-left:auto}}

.task-progress{min-width:145px;margin-top:5px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.task-progress progress{display:block;width:100%;height:6px;margin:7px 0;accent-color:var(--green);border:0;border-radius:4px;overflow:hidden;background:var(--soft)}progress::-webkit-progress-bar{background:var(--soft);border-radius:4px}progress::-webkit-progress-value{background:var(--green);border-radius:4px}.task-progress .progress-summary{max-width:220px}.detail-progress{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0}.detail-progress h2{font-size:12px}.detail-progress .progress-summary{white-space:normal;overflow-wrap:anywhere}@media(max-width:600px){.detail-progress{grid-template-columns:1fr;gap:12px}}

.progress-heading{font-size:11px;color:var(--ink)}
.progress-stage{--progress-color:#3676a6;--progress-track:#edf3f9}
.progress-overall{--progress-color:var(--green);--progress-track:var(--soft)}
.task-progress.is-blocked{--progress-color:#b77b38;--progress-track:#fbefdf}
.task-progress progress{appearance:none;accent-color:var(--progress-color);background:var(--progress-track)}
.task-progress progress::-webkit-progress-bar{background:var(--progress-track)}
.task-progress progress::-webkit-progress-value{background-color:var(--progress-color)}
.task-progress progress::-moz-progress-bar{background-color:var(--progress-color);border-radius:4px}
.progress-stage progress::-webkit-progress-value{background-image:repeating-linear-gradient(135deg,transparent 0 5px,#ffffff38 5px 8px)}
.progress-stage progress::-moz-progress-bar{background-image:repeating-linear-gradient(135deg,transparent 0 5px,#ffffff38 5px 8px)}

.badge.stalled{background:#fbefdf;color:#955516;margin-top:5px}.blockage-reason{white-space:normal;overflow-wrap:anywhere;max-width:250px;font-size:11px;line-height:1.6;color:#955516;margin-top:7px}.is-blocked progress{accent-color:#b77b38}.is-blocked progress::-webkit-progress-value{background-color:#b77b38}.detail-progress .blockage-reason{max-width:none}
/* Task-bound native inputs: quiet, compact, with a clear save destination. */
.product-cell{display:flex;gap:12px;align-items:center;min-width:220px;max-width:260px}.product-text{min-width:0;flex:1}.product-text small{max-width:100%}.product-picture{flex:0 0 64px;width:64px;height:64px;border:1px solid var(--line);border-radius:8px;background:var(--soft);display:grid;place-items:center;overflow:hidden;color:var(--muted);font-size:10px}.product-picture img{width:100%;height:100%;object-fit:contain;background:white}.product-cell a{display:block;max-width:12em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.product-observation{color:var(--muted);font-size:10px}.detail-summary{padding:10px 0 20px}.workspace-actions{margin:28px 0;padding:22px;background:var(--soft);border:1px solid var(--line);border-radius:10px}.workspace-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.workspace-entry{white-space:normal;text-align:left;padding:15px}.workspace-entry strong{display:block;color:var(--green);font-size:13px}.workspace-entry small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:7px}#editor-dialog{width:min(820px,94vw);max-height:90vh;overflow-y:auto}.save-destination{background:var(--soft);padding:12px 16px;margin:18px 0;color:var(--green);border-radius:6px}.workspace-form fieldset{border:0;padding:0;margin:0}.workspace-form fieldset>label{margin-bottom:18px}.cost-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(100px,1fr) minmax(100px,1fr);align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid var(--line)}.cost-row strong{font-weight:500;font-size:13px;overflow-wrap:anywhere}.model-option{display:flex;gap:12px;padding:18px;border:1px solid var(--line);border-radius:8px;margin-bottom:12px}.model-option input{width:18px;height:18px;flex:none;margin-top:4px}.model-option small{display:block;color:var(--muted)}.editor-status{margin:20px 0 12px;white-space:pre-wrap}.workspace-form>button{width:100%;padding:12px}.workspace-form fieldset:disabled{opacity:.65}@media(max-width:650px){.workspace-buttons{grid-template-columns:1fr}.cost-row{grid-template-columns:1fr 1fr}.cost-row strong{grid-column:1/-1}.workspace-actions{padding:16px}}

.task-categories{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 8px}.task-categories button{background:transparent;color:var(--muted);border:1px solid var(--line);padding:7px 15px;border-radius:6px;font-size:12px}.task-categories button[aria-pressed="true"]{background:var(--green);color:#fff;border-color:var(--green)}.task-categories button span{display:inline-block;margin-left:7px;min-width:16px;font-size:11px;font-variant-numeric:tabular-nums;opacity:.8}.category-note{margin:0 0 12px;font-size:11px}

.cost-bulk-tools{display:grid;grid-template-columns:2fr auto 2fr auto;gap:12px;align-items:end;padding:16px;background:var(--soft);border-radius:6px;margin-bottom:16px}.cost-bulk-tools input[type=checkbox]{width:auto}.cost-bulk-tools button{grid-column:span 2}.cost-row{grid-template-columns:minmax(180px,2fr) 1fr 1fr auto}.cost-row small{grid-column:1 / -1;color:var(--muted)}.workspace-form>button{margin-right:10px}@media(max-width:650px){.cost-bulk-tools{grid-template-columns:1fr auto}.cost-bulk-tools button{grid-column:1/-1}.cost-row{grid-template-columns:1fr 1fr}.cost-row>label:first-child{grid-column:1/-1}}

/* Keep modal controls visible while only the task/editor content scrolls. */
#detail-dialog,#editor-dialog{padding:0;overflow:hidden}
#detail-dialog[open],#editor-dialog[open]{display:flex;flex-direction:column}
#detail-dialog>.detail-top,#editor-dialog>.detail-top{flex:none;gap:12px;padding:26px 26px 12px;background:#fff;border-bottom:1px solid var(--line)}
#detail-dialog>.detail-top>.close-dialog,#editor-dialog>.detail-top>.close-dialog{flex-shrink:0}
#detail,#editor-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 26px 26px}

.task-history{margin:0 0 16px;border:1px solid var(--line);border-radius:6px;padding:10px 12px}.task-history summary{cursor:pointer;color:var(--muted);font-size:12px}.task-history .related-task{display:block;text-align:left;white-space:normal;margin-top:6px}.latest-task{display:block;margin:0 0 12px;color:var(--green)}

.task-times{display:grid;gap:6px;font-variant-numeric:tabular-nums}.task-time{display:flex;align-items:baseline;gap:8px;white-space:nowrap;line-height:1.6}.task-time-label{font-size:10px}.task-time-created{color:#52665a}.task-time-heartbeat{color:#2f6f9f}
.task-account-line{display:flex;align-items:center;gap:8px;white-space:nowrap}.task-account-name{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-account-id{flex:none;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}

/* Compact operations workspace */
header{height:62px;padding:0 28px}.brand{font-size:16px;gap:10px;letter-spacing:.02em}.brand-mark{width:32px;height:32px;font-size:17px}.brand small{font-size:10px;letter-spacing:.06em}main{padding:18px 28px 36px}.page-heading{margin-bottom:12px;gap:16px}.page-heading h1{font-size:20px;margin:0;line-height:1.4;font-weight:600}.page-heading .eyebrow{display:none}.page-heading p{margin-top:3px;font-size:11px}.metrics{margin:0 0 16px;padding:12px 0;border-top:0;gap:0}.metric{display:flex;align-items:center;gap:14px;padding:0 24px}.metric strong{font-size:24px;margin:0;line-height:1.2}.metric small{font-size:12px}.metric:nth-child(3) strong{color:var(--orange)}
.submit-panel{padding:16px 18px;border-radius:8px}.section-title{margin-bottom:12px;gap:12px}h2{font-size:14px}.submit-panel>.section-title p{font-size:11px;margin-top:2px}.submit-panel>.section-title>.tag{font-size:10px;padding:1px 7px;white-space:nowrap;flex-shrink:0}
#submit-form{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);column-gap:24px;align-items:start}.dispatch-row{grid-column:1;grid-row:1;margin:0;display:grid;grid-template-columns:1fr;gap:8px}.dispatch-row label:first-child,.dispatch-row .mode-field,.dispatch-row .computer-field{width:100%;max-width:none;min-width:0}.dispatch-note{grid-column:1;grid-row:2;margin:6px 0 0;font-size:11px}.link-composer{grid-column:2;grid-row:1 / 3;min-width:0;padding-left:24px;border-left:1px solid var(--line)}.link-heading{margin-bottom:5px}.link-heading .tag{padding:1px 7px;font-size:10px}#links{min-height:68px;height:68px;line-height:1.6;font-size:13px;padding:8px 10px}.link-tools{margin-top:5px;gap:10px}.link-tools p,#link-feedback{font-size:11px}#link-feedback{margin-top:2px}.link-tools button{padding:5px 11px;font-size:12px}.submit-bottom{grid-column:1/-1;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.submit-bottom>span{font-size:11px}.submit-bottom button{padding:7px 20px;font-size:13px}input,select{padding:6px 9px}label{font-size:11px}label select{margin-top:4px}.link-queue{max-height:190px;overflow:auto}
.task-section,.computer-section{margin-top:20px}.task-section>.section-title{margin-bottom:8px}.task-section>.section-title p{font-size:11px}.task-categories{margin:0 0 7px;gap:5px}.task-categories button{padding:5px 12px;font-size:11px}.category-note{font-size:10px;margin-bottom:8px}.filter-label select{min-width:140px;font-size:12px}th{padding:9px 10px}td{padding:10px;vertical-align:middle}.product-picture{width:48px;height:48px;flex-basis:48px;border-radius:6px}.product-cell{gap:10px;min-width:205px;max-width:240px}.task-progress{margin-top:3px}.task-progress progress{height:5px;margin:5px 0}.blockage-reason{font-size:11px;line-height:1.5;margin-top:5px;max-width:360px}.task-times{gap:3px}.badge{font-size:10px;padding:1px 6px}.computer{padding:13px}.computers{gap:10px}.computer .tag{margin-top:7px}.table-note{font-size:10px}.workspace-actions{margin:16px 0;padding:16px}.workspace-entry{padding:11px}.workspace-buttons{gap:8px;margin-top:10px}.detail-summary{padding:4px 0 10px}.timeline li{padding-bottom:12px}
@media(min-width:1550px){.dispatch-row{grid-template-columns:1fr 1.25fr}#submit-form{grid-template-columns:minmax(420px,500px) minmax(0,1fr)}}
@media(max-width:850px){header{padding:0 18px}main{padding:16px 18px 28px}#submit-form{grid-template-columns:1fr}.dispatch-row{grid-column:1;grid-row:auto;grid-template-columns:1fr 1fr}.dispatch-note{grid-column:1;grid-row:auto;margin-bottom:10px}.link-composer{grid-column:1;grid-row:auto;border-left:0;padding-left:0}.metric{padding:0 12px;gap:8px}.metric strong{font-size:21px}.page-heading h1{font-size:18px}}
@media(max-width:540px){header{height:58px;padding:0 14px}main{padding:12px 14px 24px}.brand{font-size:14px}.brand small{font-size:9px}.page-heading{align-items:center;gap:8px}.page-heading p{max-width:210px}.page-heading .tag{font-size:9px;padding:2px 5px}.metrics{grid-template-columns:repeat(2,1fr);row-gap:12px;padding:8px 0 12px}.metric{padding:0}.submit-panel{padding:12px}.submit-panel>.section-title{align-items:center}.dispatch-row{grid-template-columns:1fr}.link-tools{flex-direction:row;align-items:center}.link-tools p{max-width:65%}.submit-bottom{gap:10px;flex-wrap:nowrap}.submit-bottom>span{max-width:55%;font-size:10px}.submit-bottom button{padding:7px 12px}.task-section{margin-top:16px}.filter-label select{min-width:110px}.workspace-buttons{grid-template-columns:1fr}}
#editor-dialog.strategy-editor{width:min(1240px,96vw)}
.strategy-section{padding:24px;margin:24px 0;border:1px solid var(--line);border-radius:12px;background:#fafcfb}
.strategy-head,.strategy-card-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.strategy-head h3{margin:0 auto 0 0}.strategy-head button,.strategy-card button,.strategy-inline-editor button{padding:9px 13px;font-size:13px}.strategy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.strategy-card{padding:20px;border:1px solid var(--line);border-radius:10px;background:white;min-width:0}.strategy-card.selected{border-color:var(--green);background:#f0f7f3}.strategy-card.blocked{border-color:#e2b6ae;background:#fff8f6}.strategy-card-head label{display:flex;align-items:center;gap:8px;margin:0;flex:1}.strategy-card input[type=checkbox]{width:20px;height:20px;flex:none}.strategy-card-head>strong{font-size:22px;font-variant-numeric:tabular-nums}.strategy-caption{color:var(--muted);font-size:13px;line-height:1.7}.strategy-metric{display:flex;justify-content:space-between;gap:16px;font-size:14px;line-height:1.7}.strategy-metric>span{overflow-wrap:anywhere;min-width:0}.strategy-metric>strong{white-space:nowrap;font-variant-numeric:tabular-nums}.strategy-skus{max-height:260px;overflow:auto;border-top:1px solid var(--line);margin-top:20px;padding-top:8px}.strategy-skus .strategy-metric{font-size:13px}.strategy-inline-editor,.strategy-finance{padding:24px;border:1px solid var(--green);border-radius:10px;background:white;margin:20px 0}.strategy-inline-editor[hidden],.strategy-finance[hidden]{display:none}.strategy-edit-fields{max-width:600px}.strategy-edit-fields label{display:block;margin:12px 0}.strategy-edit-fields input{margin-top:6px}.strategy-inline-editor button,.strategy-card>button{margin:8px 8px 0 0}.strategy-finance .strategy-metric{max-width:680px}.strategy-section h4{margin-top:0}@media(max-width:950px){.strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.strategy-grid{grid-template-columns:1fr}.strategy-section{padding:14px}.strategy-head{align-items:flex-start}.strategy-head h3{width:100%}}

/* Clear hierarchy: overview, primary input, execution settings, task list. */
body{background:#f3f5f4;color:#20332c}header{height:58px;border-bottom:1px solid #e2e7e4}main{padding:22px 28px 40px}#workspace{display:grid;grid-template-columns:minmax(240px,1fr) auto;column-gap:24px;row-gap:18px}#workspace>section{grid-column:1/-1}.page-heading{margin:0;align-items:center}.page-heading h1{font-size:24px;letter-spacing:-.03em}.page-heading p{font-size:12px;margin-top:4px}.page-heading>div:last-child{display:none}.metrics{margin:0;padding:0;border:0;align-items:center;gap:8px;grid-template-columns:repeat(4,minmax(100px,1fr))}.metric,.metric:first-child{padding:8px 15px;border:0;gap:10px;border-radius:6px}.metric strong{font-size:22px;font-weight:600}.metric small{font-size:11px}.metric:nth-child(3){background:#fff0db}.metric:nth-child(3) small{color:#8d5e20}
.submit-panel{padding:0;overflow:hidden;border:1px solid #d5dfd9;border-radius:10px;background:white;box-shadow:0 3px 12px #20332c05}.submit-panel>.section-title{margin:0;padding:15px 20px;border-bottom:1px solid #e6ece8;align-items:center}.submit-panel>.section-title h2{font-size:17px;letter-spacing:0}.submit-panel>.section-title p{font-size:12px;color:#7b8981;margin-top:3px}.submit-panel>.section-title>.tag{background:#eef5f0;color:#426a55;border:0;padding:4px 9px;font-size:11px}
#submit-form{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:0;align-items:stretch}.link-composer{grid-column:1;grid-row:auto;border:0;padding:18px 22px 16px;min-width:0}.link-heading{margin:0 0 10px;align-items:center}.link-heading label{font-size:14px;font-weight:600;color:#263e31}.step-number{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e7f0e9;color:#306249;font:600 11px/1 sans-serif;margin-right:8px}.link-heading .tag{font-size:11px;border:0;color:#819087;background:transparent}#links{height:100px;min-height:90px;font-size:14px;padding:12px 14px;border-color:#b5cbbc;background:#fcfefc;border-radius:7px;line-height:1.7}#links::placeholder{color:#8b9990}.link-tools{margin-top:8px}.link-tools p{font-size:11px}.link-tools button{border:0;color:#31634e;background:#eaf2ec;font-size:12px;padding:6px 12px}#link-feedback{font-size:11px;color:#839087;margin-top:4px}.dispatch-settings{padding:18px 20px;background:#f4f7f4;border-left:1px solid #e0e8e2;display:flex;flex-direction:column;gap:10px}.dispatch-settings h3{font-size:14px;margin:0 0 1px;font-weight:600}.dispatch-row{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin:0}.dispatch-row label{font-size:11px;color:#65786c}.dispatch-row select{font-size:12px;padding:7px 8px;height:35px;border-color:#d3ded5}.dispatch-note{margin:0;font-size:11px;line-height:1.5;color:#7b8980}.submit-bottom{display:flex;flex-direction:column-reverse;align-items:stretch;gap:7px;margin:0;padding:0;border:0;margin-top:auto}.submit-bottom button{width:100%;padding:10px 16px;font-size:14px;font-weight:600;box-shadow:0 2px 3px #20332c12}.submit-bottom>span{font-size:10px;line-height:1.4;text-align:center;color:#89958e;max-width:none}.submit-panel>#submit-results{margin:12px 20px}
.task-section{margin-top:4px;background:#fff;border:1px solid #dce4df;border-radius:10px;padding:18px 18px 10px;min-width:0}.task-section>.section-title{margin:0 0 12px;align-items:center}.task-section h2{font-size:19px;letter-spacing:-.02em}.task-section h2 .count{background:#edf2ee;border-radius:5px;padding:2px 7px;color:#5f7366;font-size:12px}.task-section>.section-title p{font-size:11px;color:#88968d}.task-categories{margin:0 0 10px;gap:5px;border-bottom:1px solid #e5ebe7;padding-bottom:10px}.task-categories button{border:0;background:transparent;padding:6px 13px;color:#78877e;font-size:12px}.task-categories button[aria-pressed=true]{background:#e7f0ea;color:#24543b;font-weight:600}.category-note{display:none}.table-wrap{border-radius:5px;border-color:#e6ece8}th{background:#f5f7f5;color:#78877d;font-size:11px;padding:10px}td{border-color:#edf1ee}.table-note{color:#99a39d}.computer-section{margin-top:4px}.computer-section h2{font-size:15px}.badge{font-size:11px}.product-cell a{font-weight:600}
@media(min-width:1600px){#submit-form{grid-template-columns:minmax(0,1fr) 400px}.dispatch-settings{padding-inline:24px}.link-composer{padding-inline:24px}}
@media(max-width:1100px){#workspace{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(4,1fr);gap:6px}.metric,.metric:first-child{padding:8px 12px;background:white}.metric:nth-child(3){background:#fff0db}#submit-form{grid-template-columns:minmax(0,1fr) 310px}.page-heading>div:last-child{display:block}.dispatch-row{grid-template-columns:1fr}}
@media(max-width:700px){main{padding:16px 14px 28px}#workspace{gap:14px}.page-heading h1{font-size:22px}.metrics{grid-template-columns:repeat(2,1fr)}.metric{justify-content:space-between}.submit-panel>.section-title{padding:13px 15px}.submit-panel>.section-title p{font-size:11px;max-width:250px}#submit-form{grid-template-columns:1fr}.link-composer{padding:15px;grid-column:1;grid-row:auto}.dispatch-settings{border-left:0;border-top:1px solid #e0e8e2;padding:15px}.dispatch-row{grid-template-columns:1fr 1.3fr}.submit-bottom{margin-top:4px;flex-direction:row;align-items:center}.submit-bottom button{width:auto;min-width:130px}.submit-bottom>span{text-align:left;max-width:48%}.task-section{padding:14px 10px 8px}.task-section h2{font-size:17px}.task-categories button{padding:6px 9px;font-size:11px}.task-section>.section-title{gap:8px}.filter-label select{min-width:100px}.link-tools{flex-direction:row}.link-tools p{max-width:65%}}
/* Reference design supplied by the user: native blue pricing / traffic panels. */
#editor-dialog.strategy-editor{width:min(1320px,96vw);color:#20374f;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.strategy-editor .strategy-section{background:#fbfdff;border:1px solid #d9e4f2;border-radius:16px;padding:28px;margin:24px 0;box-shadow:0 0 0 1px #eef3f9}
.strategy-editor .strategy-section>h3{font-size:24px;font-weight:650;margin:0 0 28px;color:#203a53}
.strategy-editor .strategy-head{border-bottom:1px solid #dce6f2;padding-bottom:18px;gap:16px;flex-wrap:nowrap}
.strategy-editor .strategy-head>.strategy-caption{flex:1;margin:0}.strategy-editor .strategy-head>strong{color:#3072eb;white-space:nowrap;font-size:17px}
.strategy-editor .strategy-section button.secondary,.strategy-editor .strategy-inline-editor button{border:1px solid #91b7fa;background:white;color:#2e6ed9;border-radius:10px;font-size:16px;font-weight:600;padding:10px 16px;box-shadow:none;white-space:nowrap}
.strategy-editor .strategy-head>button{background:#f4f8ff;padding:13px 20px}
.strategy-editor .strategy-grid{gap:18px;margin-top:36px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.strategy-editor .strategy-card{border:1.5px solid #d9e4f2;border-radius:16px;background:#f7faff;padding:26px;color:#61758e;min-width:0}
.strategy-editor .strategy-card.selected{border-color:#8bb5ff;background:#f4f8ff}
.strategy-editor .strategy-card.blocked{border-color:#f1c1bd;background:#fff8f7}
.strategy-editor .strategy-card-head{gap:12px;flex-wrap:wrap;margin-bottom:16px}.strategy-editor .strategy-card-head label{font-size:18px;font-weight:600;line-height:1.5}.strategy-editor .strategy-card-head label strong{font-size:18px}.strategy-editor .strategy-card-head>strong{color:#1e344d;font-size:27px;letter-spacing:-.5px}.strategy-editor .blocked .strategy-card-head>strong,.strategy-editor .blocked .strategy-card-head label{color:#a85d59}
.strategy-editor .strategy-card input[type=checkbox]{accent-color:#3072eb;width:24px;height:24px;margin:0}
.strategy-editor .strategy-caption{color:#8192aa;font-size:17px;line-height:1.65}
.strategy-editor .pricing-reference .strategy-card>.strategy-metric{display:block;color:#8192aa;font-size:17px;margin:22px 0}.strategy-editor .pricing-reference .strategy-card>.strategy-metric strong{font-weight:400;margin-left:8px}
.strategy-editor .strategy-skus{border-color:#dce6f2;margin-top:30px;padding-top:12px;max-height:320px}.strategy-editor .strategy-skus .strategy-metric{font-size:16px;line-height:1.65;margin:8px 0}.strategy-editor .strategy-skus strong{color:#233b53;font-weight:600}
.strategy-editor .error-text{color:#dc4940;font-size:16px;line-height:1.6;font-weight:600}
.strategy-editor .strategy-roi-bar{display:flex;align-items:center;gap:22px;border-bottom:1px solid #dce6f2;padding-bottom:22px;color:#5a6f88;font-size:18px}.strategy-roi-bar>span{flex:0 0 75px}.strategy-roi-bar>small{font-size:15px;line-height:1.6;flex:1;color:#34485f}
.strategy-editor .strategy-segmented{display:flex;flex:0 1 445px;background:#f2f6fc;border:1px solid #d7e3f4;border-radius:14px;padding:5px;gap:4px}.strategy-editor .strategy-segmented button{border:0;background:transparent;white-space:normal;flex:1;padding:10px 12px;line-height:1.45;color:#62758d;border-radius:9px}.strategy-editor .strategy-segmented button.active{background:#306fe1;color:white;box-shadow:0 2px 6px #2b64cf22}
.strategy-editor .traffic-reference .strategy-grid{margin-top:22px}.strategy-editor .traffic-card{cursor:pointer;background:#f7faff}.strategy-editor .traffic-card.active{border:3px solid #3577ed;padding:24.5px;background:#edf4ff}.strategy-editor .traffic-card:focus-visible{outline:3px solid #729cf5;outline-offset:3px}.traffic-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:18px}.traffic-card-head>strong{font-size:25px;color:#213950}.strategy-editor .traffic-card .strategy-caption{font-size:14px}.strategy-editor .traffic-card .strategy-metric{font-size:16px;margin:12px 0}.strategy-editor .traffic-card .strategy-metric strong{color:#344a65}.strategy-editor .traffic-card .strategy-metric:nth-of-type(3),.strategy-editor .traffic-card .strategy-metric:nth-of-type(5){color:#ef4b4c}.strategy-editor .traffic-card .strategy-metric:nth-of-type(3)>strong,.strategy-editor .traffic-card .strategy-metric:nth-of-type(5)>strong{color:#ef4b4c}
.strategy-editor .traffic-card button.finance-link{border:0;background:transparent;color:#397cf0;font-weight:400;padding:0;margin:10px 0 0;font-size:16px;text-align:left}.strategy-editor .strategy-inline-editor,.strategy-editor .strategy-finance{border-color:#91b7fa;color:#344b68}.strategy-editor input:focus,.strategy-editor select:focus{outline-color:#397cf0}.strategy-editor .workspace-form>button{background:#3072eb;color:white;border-color:#3072eb}
@media(max-width:1000px){.strategy-editor .strategy-card{padding:20px}.strategy-editor .strategy-card-head>strong{font-size:23px}.strategy-editor .strategy-card-head button{padding:8px 10px;font-size:14px}.strategy-editor .strategy-roi-bar{flex-wrap:wrap}.strategy-roi-bar>small{flex-basis:100%}.strategy-editor .strategy-grid{gap:12px}.strategy-editor .strategy-caption{font-size:15px}}
@media(max-width:760px){.strategy-editor .strategy-grid{grid-template-columns:1fr}.strategy-editor .strategy-section{padding:18px}.strategy-editor .strategy-head{flex-wrap:wrap}.strategy-editor .strategy-head>.strategy-caption{flex-basis:100%}.strategy-editor .strategy-head>strong{margin-right:auto}.strategy-editor .strategy-section>h3{font-size:21px}.strategy-editor .strategy-roi-bar{gap:12px}.strategy-editor .strategy-segmented{flex:1}.strategy-roi-bar>span{flex-basis:100%}.strategy-editor .strategy-card-head{flex-wrap:nowrap}.strategy-editor .strategy-card-head label strong{font-size:16px}}

.strategy-editor .workspace-form fieldset{min-width:0;width:100%}.strategy-editor .strategy-section .strategy-segmented button{border:0;background:transparent;white-space:normal;color:#62758d}.strategy-editor .strategy-section .strategy-segmented button.active{background:#306fe1;color:white}
@media(max-width:760px){.strategy-editor .strategy-card-head{flex-wrap:wrap}.strategy-editor .strategy-segmented{min-width:0}.strategy-editor .strategy-section .strategy-segmented button{padding:8px 5px;font-size:13px;min-width:0}.strategy-editor .strategy-head>button{padding:10px 12px;font-size:14px}}

/* Compact reference layout: retain the original cards at a comfortable desktop scale. */
#editor-dialog.strategy-editor{width:min(1080px,94vw);max-height:90vh}
.strategy-editor .strategy-section{padding:18px;margin:14px 0;border-radius:12px}
.strategy-editor .strategy-section>h3{font-size:19px;margin-bottom:14px}
.strategy-editor .strategy-head{padding-bottom:12px;gap:12px}
.strategy-editor .strategy-head>strong,.strategy-editor .strategy-caption{font-size:13px}
.strategy-editor .strategy-section button.secondary,.strategy-editor .strategy-inline-editor button{font-size:13px;padding:7px 11px;border-radius:7px}
.strategy-editor .strategy-grid{gap:12px;margin-top:18px}
.strategy-editor .strategy-card{padding:16px;border-radius:11px}
.strategy-editor .strategy-card-head{gap:8px;margin-bottom:10px}
.strategy-editor .strategy-card-head label,.strategy-editor .strategy-card-head label strong{font-size:14px}
.strategy-editor .strategy-card-head>strong{font-size:22px}
.strategy-editor .strategy-card input[type=checkbox]{width:18px;height:18px}
.strategy-editor .pricing-reference .strategy-card>.strategy-metric{font-size:13px;margin:12px 0}
.strategy-editor .strategy-skus{margin-top:16px;padding-top:6px}
.strategy-editor .strategy-skus .strategy-metric{font-size:13px;margin:5px 0}
.strategy-editor .error-text{font-size:13px}
.strategy-editor .strategy-roi-bar{gap:14px;font-size:14px;padding-bottom:12px}
.strategy-editor .strategy-roi-bar>span{flex-basis:60px}
.strategy-editor .strategy-roi-bar>small{font-size:12px}
.strategy-editor .strategy-segmented{flex-basis:350px;padding:4px;border-radius:9px}
.strategy-editor .strategy-section .strategy-segmented button{font-size:13px;padding:7px 9px}
.strategy-editor .traffic-reference .strategy-grid{margin-top:14px}
.strategy-editor .traffic-card.active{padding:14.5px}
.strategy-editor .traffic-card-head{font-size:14px}
.strategy-editor .traffic-card-head>strong{font-size:21px}
.strategy-editor .traffic-card .strategy-caption{font-size:12px}
.strategy-editor .traffic-card .strategy-metric{font-size:13px;margin:7px 0}
.strategy-editor .traffic-card button.finance-link{font-size:13px;margin-top:6px}
@media(max-width:760px){.strategy-editor .strategy-section{padding:12px}.strategy-editor .strategy-roi-bar>span{flex-basis:100%}.strategy-editor .strategy-segmented{flex-basis:100%}}

.workspace-completion{display:inline-block;font-size:12px;color:#9c6b32;background:#fff3e2;padding:2px 8px;border-radius:5px;margin:8px 0 2px}.workspace-completion.complete{background:#e5f2e9;color:#287449}.workspace-entry small{overflow-wrap:anywhere;white-space:normal}

/* Orange reference, 1586 × 992. Shared tokens; existing native editors stay intact. */
body.dashboard-app{--ink:#202326;--muted:#7c817f;--line:#e7e8e4;--paper:#f7f5f2;--green:#ed6b2d;--soft:#fff2e3;--orange:#c35319;--accent:#ed6b2d;--accent-deep:#ca5923;--attention:#fef5e7;--track:#fff0dd;--card-radius:10px;--surface:#fff;--table-head:#f6f6f4;--selection:#fff7e9;--status-bg:#fee9ce;--status-ink:#bf4a06;--button-start:#cc6735;--button-end:#d06b39;--inline-start:#ce622c;--inline-end:#d06a34;--attention-start:#fff2e2;--attention-end:#fef5e8;background:var(--paper);color:var(--ink);font:14px/1.6,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}
.dashboard-app .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.dashboard-app .icon{display:block;flex:none;width:20px;height:20px}
.dashboard-app button,.dashboard-app input,.dashboard-app select,.dashboard-app textarea{font-family:inherit;font-size:14px;letter-spacing:0}
.dashboard-app button{border-radius:7px;transition:background-color .12s,border-color .12s}
.dashboard-app button:disabled{opacity:.45;cursor:not-allowed;filter:none}
.dashboard-app button:focus-visible,.dashboard-app input:focus-visible,.dashboard-app select:focus-visible,.dashboard-app textarea:focus-visible,.dashboard-app summary:focus-visible{outline:2px solid #d95e23;outline-offset:3px}
.dashboard-app>header{height:74px;padding:0 34px;background:#fff;border-bottom:1px solid #e6e7e4;box-shadow:0 2px 7px #26231f04}
.dashboard-app .brand{gap:18px;font-size:23px;font-weight:650;letter-spacing:.01em;line-height:1.25;color:#151719}
.dashboard-app .brand small{font-size:14px;font-weight:400;letter-spacing:.07em;color:#7c8286;margin-top:3px}
.dashboard-app .brand-mark{width:52px;height:49px;border-radius:11px;background:linear-gradient(145deg,#303130,#222423);box-shadow:inset 0 1px 2px #ffffff14;display:grid;place-items:center}
.dashboard-app .brand-mark svg{width:45px;height:45px}
.dashboard-app .connection{gap:20px;color:var(--ink);font-size:14px;line-height:1.4}
.dashboard-app .connection-indicator{display:flex;align-items:center;gap:11px}
.dashboard-app .dot{width:10px;height:10px;background:#549e5d;flex:none}
.dashboard-app .connection[data-state="connecting"] .dot{background:#d2a05a}
.dashboard-app .connection[data-state="error"] .dot{background:#cb643f}
.dashboard-app #connection{font-size:14px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-app #refresh{display:flex;align-items:center;justify-content:center;gap:9px;height:36px;padding:0 16px;min-width:94px;background:#fff;color:#2f3335;border:1px solid #dcdedc;border-radius:7px;font-weight:400}
.dashboard-app #refresh .icon{width:18px;height:18px}
.dashboard-app #design-preview{border-left:1px solid #eceeec;padding-left:20px;color:#777d80;font-size:14px;letter-spacing:.04em}
.dashboard-app>main{padding:20px 32px 30px;max-width:none;width:100%}
.dashboard-app #workspace{display:grid;grid-template-columns:minmax(0,1fr) 408px;grid-template-areas:"heading heading" "metrics metrics" "status status" "tasks create" "devices devices";column-gap:16px;row-gap:0;align-items:start}
.dashboard-app #workspace>section{grid-column:auto}
.dashboard-app .page-heading{grid-area:heading;display:flex;align-items:center;justify-content:space-between;gap:16px;height:38px;margin:0 0 10px}
.dashboard-app .page-heading>div{display:flex;align-items:baseline;gap:18px;min-width:0}
.dashboard-app .page-heading h1{margin:0;color:#202326;font-size:32px;font-weight:600;line-height:38px;letter-spacing:0;white-space:nowrap}
.dashboard-app .page-heading p{font-size:14px;color:#737b7e;line-height:22px;margin:0;letter-spacing:0}
.dashboard-app #today{color:#656e72;font-size:14px;white-space:nowrap}
.dashboard-app .metrics{grid-area:metrics;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;margin:0 0 18px;border:0}
.dashboard-app .metric,.dashboard-app .metric:first-child{height:100px;display:flex;align-items:center;gap:18px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 2px 6px #26231f02}
.dashboard-app .metric-icon{display:grid;place-items:center;width:58px;height:58px;flex:none;border-radius:9px;background:#f2f3f2;color:#586167}
.dashboard-app .metric-icon .icon{width:27px;height:27px;stroke-width:1.6}
.dashboard-app .metric-text small{display:block;font-size:16px;line-height:24px;color:#41484a}
.dashboard-app .metric-text strong{display:block;font-size:34px;line-height:39px;font-weight:600;margin:0;color:#181d20}
.dashboard-app .metric.attention{background:var(--attention);border-color:#ffe0b6}
.dashboard-app .metric.attention .metric-icon{background:#ffe9cd;color:#d46423}
.dashboard-app .metric.attention .metric-icon .icon{fill:#d46423;stroke:white;stroke-width:1.8}
.dashboard-app .metric.attention .metric-text small,.dashboard-app .metric.attention .metric-text strong{color:#be4a0d}
.dashboard-app #data-status{grid-area:status;margin-bottom:14px;padding:12px 16px;background:#fff0dc;color:#995022;border:1px solid #f2d8b7;border-radius:8px;overflow-wrap:anywhere}
.dashboard-app .task-section{grid-area:tasks;margin:0;padding:16px 20px 0;min-width:0;background:#fff;border:1px solid #e3e5e1;border-radius:var(--card-radius);box-shadow:0 2px 8px #29241f04;align-self:start}
.dashboard-app .queue-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;height:44px;margin-bottom:10px}
.dashboard-app .queue-heading h2{font-size:26px;line-height:38px;font-weight:600;letter-spacing:0;margin:0;white-space:nowrap}
.dashboard-app .queue-heading .count{display:inline-block;font-size:14px;line-height:25px;min-width:32px;padding:0 7px;vertical-align:middle;text-align:center;color:#b34c13;background:#fff0de;border:0;border-radius:6px;font-weight:500;margin-left:8px}
.dashboard-app .task-search{display:flex;align-items:center;gap:10px;width:256px;height:40px;border:1px solid #d7dcd9;background:#fff;border-radius:7px;padding:0 13px;color:#505b5d;margin:0;font-size:14px}
.dashboard-app .task-search:focus-within{outline:2px solid #e78a5c;outline-offset:2px}
.dashboard-app .task-search .icon{width:18px;height:18px}
.dashboard-app #task-search{min-width:0;width:100%;height:38px;border:0;border-radius:0;padding:0;margin:0;background:transparent;font-size:14px;box-shadow:none;outline:none;color:#333a3c}
.dashboard-app #task-search::placeholder{color:#919798}
.dashboard-app .queue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;height:40px}
.dashboard-app .task-categories{display:flex;align-items:center;flex-wrap:nowrap;gap:0;margin:0;padding:0;border:0;height:40px}
.dashboard-app .task-categories button{height:40px;padding:0 18px;border:0;border-bottom:2px solid transparent;background:transparent;color:#454c50;border-radius:7px;font-size:14px;white-space:nowrap;font-weight:400;letter-spacing:0}
.dashboard-app .task-categories button+button{position:relative}
.dashboard-app .task-categories button+button:before{content:"";position:absolute;width:1px;height:14px;left:0;top:13px;background:#e9eae8}
.dashboard-app .task-categories button span{margin-left:10px;font-size:13px;min-width:0;color:#7d8588;opacity:1}
.dashboard-app .task-categories button[aria-pressed="true"]{background:#fff0dc;color:#bf510d;border-bottom-color:#e96b2b;font-weight:600}
.dashboard-app .task-categories button[aria-pressed="true"] span{color:#b4490d}
.dashboard-app .filter-label{font-size:14px;margin:0;flex:none}
.dashboard-app #state-filter{width:156px;min-width:0;height:40px;padding:7px 12px;margin:0;font-size:14px;border:1px solid #d7dcd9;border-radius:7px;color:#262e31;background:#fff}
.dashboard-app .table-wrap{border:1px solid #eceeea;border-radius:5px;overflow:auto;overscroll-behavior-x:contain}
.dashboard-app .task-table{table-layout:fixed;min-width:1000px;width:100%;font-size:14px;text-align:left;white-space:normal}
.dashboard-app .col-product{width:25%}.dashboard-app .col-state{width:12%}.dashboard-app .col-progress{width:25%}.dashboard-app .col-worker{width:11%}.dashboard-app .col-updated{width:16%}.dashboard-app .col-action{width:11%}
.dashboard-app .task-table th{height:48px;box-sizing:border-box;padding:10px 12px;background:#f6f6f4;color:#7b8284;font-size:13px;font-weight:400;border-bottom:1px solid #eceeea;line-height:24px;white-space:nowrap}
.dashboard-app .task-table td{height:101px;padding:12px;border-bottom:1px solid #edf0ec;background:#fff;vertical-align:middle;line-height:22px;font-size:14px}
.dashboard-app .task-table tr:last-child td{border-bottom:0}
.dashboard-app .task-table td:first-child{min-width:0;max-width:none}
.dashboard-app .task-table tbody tr:hover td{background:#fffaf3}
.dashboard-app .task-table tr.selected td{background:#fff7e9;border-bottom-color:#ffe2b8;border-top:1px solid #ffe2b8}
.dashboard-app .task-table tr.selected td:first-child{box-shadow:inset 1px 0 #ffe2b8}
.dashboard-app .task-table tr.selected td:last-child{box-shadow:inset -1px 0 #ffe2b8}
.dashboard-app .product-cell{display:flex;align-items:center;gap:15px;min-width:0;max-width:none;width:100%}
.dashboard-app .product-picture{width:64px;height:68px;flex:0 0 64px;border:1px solid #ebeeea;border-radius:9px;background:#f5f6f3;overflow:hidden;color:#88918c;font-size:11px}
.dashboard-app .product-picture img{width:100%;height:100%;object-fit:cover;display:block;background:#fff}
.dashboard-app .product-text{min-width:0;flex:1}
.dashboard-app .product-cell a{font-size:14px;font-weight:600;letter-spacing:0;line-height:22px;max-width:none;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#202426;text-decoration:none}
.dashboard-app .product-cell a:hover{text-decoration:underline;text-underline-offset:3px}
.dashboard-app .product-text small{display:block;font-size:12px;line-height:20px;margin-top:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#7c8486}
.dashboard-app .badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;padding:4px 7px;line-height:20px;font-size:12px;font-weight:500;border:0;border-radius:5px;background:#f1f2f0;color:#6e7872;vertical-align:middle}
.dashboard-app .badge .icon{width:17px;height:17px;stroke-width:1.8}
.dashboard-app .badge.waiting_human,.dashboard-app .badge.failed,.dashboard-app .badge.disconnected{color:var(--status-ink);background:var(--status-bg)}
.dashboard-app .badge.waiting_human .icon,.dashboard-app .badge.failed .icon,.dashboard-app .badge.disconnected .icon{fill:#c45614;stroke:#fff}
.dashboard-app .badge.completed{background:#e8f0e9;color:#37684f}
.dashboard-app .badge.completed .icon{fill:#426f58;stroke:#fff}
.dashboard-app .badge.running,.dashboard-app .badge.claimed{background:#fff0de;color:#bf571e}
.dashboard-app .queue-progress{width:100%;min-width:0}
.dashboard-app .queue-stage{font-size:14px;line-height:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#23292a;margin-bottom:5px}
.dashboard-app .queue-progress progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:var(--track);accent-color:var(--accent);margin:0 0 3px}
.dashboard-app .queue-progress progress::-webkit-progress-bar{background:var(--track);border-radius:8px}
.dashboard-app .queue-progress progress::-webkit-progress-value{background:var(--accent);border-radius:8px}
.dashboard-app .queue-progress progress::-moz-progress-bar{background:var(--accent);border-radius:8px}
.dashboard-app .queue-progress.complete progress{background:#edf0ed;accent-color:#5e6963}
.dashboard-app .queue-progress.complete progress::-webkit-progress-bar{background:#edf0ed}
.dashboard-app .queue-progress.complete progress::-webkit-progress-value{background:#5e6963}
.dashboard-app .queue-progress.complete progress::-moz-progress-bar{background:#5e6963}
.dashboard-app .task-table .queue-overall,.dashboard-app .task-table .queue-next{display:block;font-size:12px;line-height:20px;color:#81898b;margin:0;white-space:nowrap;max-width:none;overflow:hidden;text-overflow:ellipsis}
.dashboard-app .assigned-computer .computer-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;color:#262b2e}
.dashboard-app .assigned-computer .heartbeat{display:block;font-size:12px;line-height:21px;margin:0;color:#8c9293;white-space:nowrap;max-width:none}
.dashboard-app .heartbeat:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#b0b4b0}
.dashboard-app .heartbeat.healthy:before{background:#59a864}
.dashboard-app .task-updated{white-space:nowrap;font-size:13px!important;letter-spacing:-.3px}
.dashboard-app .task-actions>button{display:block;font-size:13px;line-height:20px;margin:0;padding:0;white-space:nowrap;font-weight:500}
.dashboard-app .task-actions .confirm-task,.dashboard-app .task-actions .inspect-task{width:82px;height:34px;max-width:100%;border-radius:5px;border:1px solid #e1662c;background:linear-gradient(100deg,#d75f25,#dd6a32);color:#fff;text-align:center;box-shadow:inset 0 1px 2px #ffffff12}
.dashboard-app .task-actions .inspect-task{background:#fff;color:#75584b;border-color:#e6ded6}
.dashboard-app .task-actions .detail-task{color:#5f686c;font-weight:400;padding:4px 0 0;border:0;text-align:left}
.dashboard-app .task-actions .result-task{color:#d55f23;border:0;text-align:left;padding:0 0 2px;background:transparent}
.dashboard-app .queue-footer{display:flex;align-items:center;gap:26px;min-height:54px;padding:10px 2px}
.dashboard-app .queue-footer p{font-size:12px;line-height:20px;margin:0;color:#7c8587;white-space:nowrap}
.dashboard-app .queue-footer #task-total{flex:none}
.dashboard-app #pagination{margin-left:auto;display:flex;align-items:center;gap:8px;flex:none}
.dashboard-app .page-button{display:grid;place-items:center;width:30px;height:31px;padding:0;border:1px solid #e0e3df;background:#fff;color:#3e484a;border-radius:5px;font-size:13px}
.dashboard-app .page-button .icon{width:15px;height:15px}
.dashboard-app .page-button[aria-current="page"]{background:linear-gradient(120deg,#d5602a,#d16b37);border-color:#d15f27;color:white}
.dashboard-app .page-gap{font-size:12px;color:#8d9494}
.dashboard-app .empty{padding:62px 20px;color:#858d8c;background:white;min-height:170px;font-size:14px}
.dashboard-app .creation-column{grid-area:create;display:flex;flex-direction:column;gap:14px;min-width:0}
.dashboard-app .submit-panel{padding:20px 22px 22px;border:1px solid #e3e5e1;background:white;border-radius:var(--card-radius);box-shadow:0 2px 8px #29241f04;overflow:visible;margin:0}
.dashboard-app .submit-panel>.section-title{padding:0;margin:0 0 22px;border:0;display:block}
.dashboard-app .submit-panel h2{font-size:26px;line-height:38px;font-weight:600;letter-spacing:0;color:#202426;margin:0}
.dashboard-app .submit-panel>.section-title p{font-size:14px;line-height:22px;color:#858c8e;margin:0}
.dashboard-app #submit-form{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0}
.dashboard-app .dispatch-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;margin:0;align-items:start}
.dashboard-app .dispatch-row .mode-field,.dashboard-app .dispatch-row .computer-field{min-width:0;max-width:none;width:auto;flex:auto;font-size:14px;line-height:22px;color:#282f32;margin:0;font-weight:400}
.dashboard-app .dispatch-row select{display:block;width:100%;min-width:0;height:40px;margin:6px 0 0;padding:7px 12px;border:1px solid #d8dcda;border-radius:6px;font-size:14px;color:#2f3538;background:#fff;white-space:nowrap;text-overflow:ellipsis}
.dashboard-app .dispatch-note{font-size:12px;line-height:20px;color:#865d3e;background:#fff7ed;border-radius:5px;padding:8px 10px;margin:10px 0 0;overflow-wrap:anywhere}
.dashboard-app .link-composer{display:block;min-width:0;padding:0;border:0;margin-top:20px;grid-column:auto;grid-row:auto}
.dashboard-app .link-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px}
.dashboard-app .link-heading label{font-size:14px;font-weight:600;color:#282d2f;line-height:22px;margin:0}
.dashboard-app #link-count{font-size:13px;line-height:22px;color:#80898d;white-space:nowrap}
.dashboard-app #links{display:block;width:100%;height:112px;min-height:112px;max-height:240px;padding:12px 14px;border:1px solid #d6dad7;border-radius:6px;background:#fff;font-size:14px;line-height:1.8;color:#2e3635;resize:vertical;margin:0;overflow:auto}
.dashboard-app #links::placeholder{color:#8b9395}
.dashboard-app #link-hint{font-size:12px;color:#8b9293;line-height:20px;margin:10px 0 0}
.dashboard-app .link-tools{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:20px;margin-top:10px}
.dashboard-app #add-links{height:36px;min-width:112px;background:#eef3ee;border:1px solid #eef3ee;border-radius:6px;color:#3d6551;padding:0 15px;font-size:13px;font-weight:600;margin:0;align-self:auto}
.dashboard-app #queue-status{color:#838b8e;font-size:13px}
.dashboard-app #link-feedback{font-size:12px;line-height:20px;color:#7c8583;margin:8px 0 0;overflow-wrap:anywhere}
.dashboard-app #link-feedback.error-text{color:#b94618}
.dashboard-app .link-queue{max-height:210px;margin:10px 0 0;padding:0;background:#fff;border-color:var(--line)}
.dashboard-app .link-row{padding:8px;gap:6px}
.dashboard-app .link-row strong{font-size:12px;max-width:140px}
.dashboard-app .link-row .link-expand{font-size:10px}
.dashboard-app .link-row .quiet{padding:3px;font-size:12px}
.dashboard-app .submit-bottom{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:0;border:0;margin:18px 0 0}
.dashboard-app #publish-links{display:flex;align-items:center;justify-content:center;gap:12px;height:48px;min-height:48px;width:100%;margin:0;padding:8px 16px;border:1px solid #df6225;border-radius:6px;background:linear-gradient(105deg,#d66a31,#d36b36);box-shadow:inset 0 1px 3px #ffffff15;color:white;font-size:18px;font-weight:600;line-height:24px}
.dashboard-app #publish-links .icon{width:23px;height:23px}
.dashboard-app #publish-label{font-size:18px;line-height:24px;color:white}
.dashboard-app .submit-bottom>span{font-size:12px;line-height:20px;text-align:center;color:#858d90;max-width:none}
.dashboard-app #submit-results{margin:16px 0 0;padding-top:12px;border-top:1px solid var(--line);overflow-wrap:anywhere}
.dashboard-app #submit-results h2{font-size:14px;line-height:22px}
.dashboard-app .submission-row{flex-wrap:wrap;gap:5px;font-size:12px}
.dashboard-app .execution-rules{background:#fff;border:1px solid #e3e5e1;border-radius:var(--card-radius);box-shadow:0 2px 8px #29241f04;padding:14px 20px 18px}
.dashboard-app .execution-rules h2{font-size:20px;line-height:28px;font-weight:600;letter-spacing:0;margin:0 0 12px}
.dashboard-app .rule{display:flex;align-items:flex-start;gap:12px;margin-top:14px}
.dashboard-app .rule-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:6px;background:#f1f3f1;color:#5b6566}
.dashboard-app .rule-icon .icon{width:21px;height:21px}
.dashboard-app .rule>div{min-width:0}
.dashboard-app .rule h3{font-size:14px;line-height:21px;margin:0;font-weight:400;letter-spacing:-.15px;color:#30383b}
.dashboard-app .rule p{font-size:12px;line-height:20px;color:#8a9293;margin:2px 0 0;letter-spacing:-.2px}
.dashboard-app .device-section{grid-area:devices;margin:16px 0 0;padding:0;min-width:0;color:#7c8581}
.dashboard-app .device-section>details>summary{font-size:13px;cursor:pointer;display:list-item;list-style:disclosure-closed}
.dashboard-app .device-section>details[open]>summary{list-style:disclosure-open}
.dashboard-app .device-tools{display:flex;align-items:center;gap:15px;margin:16px 0 0}
.dashboard-app .computer-section{margin-top:20px}
.dashboard-app .computer-section .section-title{margin-bottom:12px}
.dashboard-app .computer-section h2{font-size:18px}
.dashboard-app .computer-section p{font-size:12px}
.dashboard-app .gate{margin-top:50px}.dashboard-app .gate h1{font-size:26px}
.dashboard-app #detail-dialog>.detail-top,.dashboard-app #editor-dialog>.detail-top{position:relative;z-index:1}
.dashboard-app #detail-dialog h2{font-size:18px}.dashboard-app #detail-dialog .detail-summary{font-size:13px}
@media(min-width:1800px){.dashboard-app .task-table{font-size:15px}.dashboard-app .task-table td{height:105px}.dashboard-app .queue-stage,.dashboard-app .product-cell a{font-size:15px}}
@media(max-width:1400px){.dashboard-app #workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "metrics" "status" "tasks" "create" "devices"}.dashboard-app .creation-column{margin-top:18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.dashboard-app .metrics{gap:12px}.dashboard-app .metric,.dashboard-app .metric:first-child{padding:16px;gap:12px}.dashboard-app .metric-icon{width:48px;height:52px}.dashboard-app .queue-heading{height:44px}.dashboard-app .queue-note{white-space:normal}.dashboard-app .submit-panel{min-width:0}}
@media(max-width:760px){.dashboard-app>header{padding:0 18px;height:74px}.dashboard-app .brand{gap:10px;font-size:18px}.dashboard-app .brand small{font-size:11px;letter-spacing:.02em}.dashboard-app .brand-mark{width:42px;height:42px;border-radius:9px}.dashboard-app .brand-mark svg{width:38px;height:38px}.dashboard-app .connection{gap:10px}.dashboard-app .connection-indicator{gap:5px}.dashboard-app #connection{font-size:12px;max-width:75px}.dashboard-app #refresh{min-width:0;width:36px;height:36px;padding:0;font-size:0;gap:0}.dashboard-app #design-preview{display:none}.dashboard-app>main{padding:20px 16px 28px}.dashboard-app .page-heading{height:auto;min-height:38px}.dashboard-app .page-heading>div{display:block}.dashboard-app .page-heading h1{font-size:28px}.dashboard-app .page-heading p{font-size:12px;margin-top:3px;max-width:235px}.dashboard-app #today{font-size:12px;align-self:flex-start;margin-top:9px}.dashboard-app .metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px;gap:10px}.dashboard-app .metric,.dashboard-app .metric:first-child{height:92px;padding:12px;gap:12px}.dashboard-app .metric-icon{width:43px;height:49px}.dashboard-app .metric-icon .icon{width:24px;height:24px}.dashboard-app .metric-text small{font-size:13px;line-height:22px}.dashboard-app .metric-text strong{font-size:28px;line-height:34px}.dashboard-app .task-section{padding:14px 12px 0}.dashboard-app .queue-heading{height:auto;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:12px}.dashboard-app .queue-heading h2{font-size:23px;line-height:34px}.dashboard-app .task-search{width:100%;height:38px}.dashboard-app .queue-toolbar{height:auto;align-items:flex-start;gap:8px;flex-wrap:wrap;margin-bottom:12px}.dashboard-app .task-categories{width:100%;height:38px}.dashboard-app .task-categories button{padding:0 10px;height:38px;font-size:12px;flex:1}.dashboard-app .task-categories button span{margin-left:6px;font-size:12px}.dashboard-app .filter-label{margin-left:auto}.dashboard-app #state-filter{height:36px;width:140px;font-size:13px}.dashboard-app .queue-footer{flex-wrap:wrap;gap:8px 15px;padding:12px 0}.dashboard-app .queue-footer p{font-size:11px}.dashboard-app .queue-footer .queue-note{order:3;width:100%;font-size:11px;white-space:normal}.dashboard-app #pagination{gap:6px}.dashboard-app .page-button{width:28px;height:29px}.dashboard-app .creation-column{display:flex;gap:14px}.dashboard-app .submit-panel{padding:18px 20px 20px}.dashboard-app .submit-panel h2{font-size:24px}.dashboard-app .dispatch-row{gap:16px}.dashboard-app .dispatch-row .mode-field,.dashboard-app .dispatch-row .computer-field{margin:0;min-width:0}.dashboard-app .link-tools{flex-wrap:wrap}.dashboard-app .link-tools p{max-width:none}.dashboard-app .submit-bottom>span{max-width:none}.dashboard-app .execution-rules{padding:16px 20px}.dashboard-app .rule p{font-size:12px}.dashboard-app #detail-dialog,.dashboard-app #editor-dialog{max-width:96vw}}
@media(prefers-reduced-motion:reduce){.dashboard-app button{transition:none}}
/* Final reference alignment: measured column inset and status-label scale. */
.dashboard-app .task-table td:nth-child(3){padding-left:20px;padding-right:17px}
.dashboard-app .task-table td:nth-child(2){padding-left:10px;padding-right:6px}
.dashboard-app .task-table .badge{font-size:13px;padding:4px 8px;line-height:22px}
.dashboard-app .task-table .badge .icon{width:18px;height:18px}
.dashboard-app .task-updated{font-size:14px!important;letter-spacing:0}
.dashboard-app .task-diagnostics{margin-top:22px;padding:14px 0;border-top:1px solid var(--line)}
.dashboard-app .task-diagnostics>summary{cursor:pointer;color:#737d79;font-size:13px}
/* Match the supplied image's muted solid-orange controls. */
.dashboard-app .metric.attention{background:linear-gradient(110deg,var(--attention-start),var(--attention-end))}
.dashboard-app .task-table tbody tr.selected td{background:var(--selection);border-bottom-color:#ffe2b8;border-top:1px solid #ffe2b8}
.dashboard-app .task-actions .confirm-task{background:linear-gradient(100deg,var(--inline-start),var(--inline-end));border-color:#d7612b}
.dashboard-app #publish-links{background:linear-gradient(105deg,var(--button-start),var(--button-end));border-color:#d6642d}
@media(max-width:1400px){.dashboard-app .creation-column{display:flex;flex-direction:column;align-items:stretch}.dashboard-app .creation-column>.submit-panel,.dashboard-app .creation-column>.execution-rules{width:100%}}

.dashboard-app .table-wrap:focus-visible{outline:2px solid #d95e23;outline-offset:3px}

/* Requested detailed queue: original quiet green list, with creation kept beside it. */
.dashboard-app #workspace{grid-template-areas:"metrics metrics" "status status" "tasks create" "devices devices"}
.dashboard-app .task-section{--ink:#22342e;--muted:#718078;--line:#dce4df;--green:#31634e;--soft:#edf3ee;--orange:#a76729;color:var(--ink);border-color:var(--line);box-shadow:none;padding:18px 18px 0}
.dashboard-app .task-section .queue-heading{height:auto;min-height:50px;margin-bottom:10px;align-items:center}
.dashboard-app .task-section h2{font-size:21px;line-height:30px;letter-spacing:-.02em}
.dashboard-app .task-section h2 .count{font-size:12px;line-height:22px;min-width:24px;padding:0 7px;background:#edf2ee;color:#5f7366;border-radius:5px}
.dashboard-app .queue-heading p{font-size:12px;line-height:20px;color:#88968d;margin:2px 0 0}
.dashboard-app .queue-controls{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
.dashboard-app .task-section .connection{display:flex;gap:12px;color:var(--muted)}
.dashboard-app .task-section .connection-indicator{gap:7px}
.dashboard-app .task-section #connection{font-size:12px;max-width:85px}
.dashboard-app .task-section #refresh{height:32px;min-width:68px;gap:6px;padding:0 10px;font-size:12px;color:var(--muted);border-color:var(--line)}
.dashboard-app .task-section #refresh .icon{width:15px;height:15px}
.dashboard-app .task-section #design-preview{font-size:11px;padding-left:12px;letter-spacing:0}
.dashboard-app .task-section .filter-label{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);white-space:nowrap}
.dashboard-app .task-section #state-filter{width:150px;height:38px;margin:0;border-color:#ccd7ce;color:var(--ink);font-size:13px;border-radius:5px}
.dashboard-app .task-section .queue-toolbar{height:auto;min-height:42px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #e5ebe7;gap:12px;flex-wrap:wrap}
.dashboard-app .task-section .task-categories{height:34px;gap:5px}
.dashboard-app .task-section .task-categories button{height:34px;border:0;padding:0 13px;font-size:12px;color:#78877e;border-radius:6px}
.dashboard-app .task-section .task-categories button+button:before{display:none}
.dashboard-app .task-section .task-categories button span{font-size:11px;margin-left:8px;color:inherit;opacity:.8}
.dashboard-app .task-section .task-categories button[aria-pressed="true"]{background:#e7f0ea;color:#24543b;font-weight:600}
.dashboard-app .task-section .task-search{height:34px;width:210px;border-color:var(--line);border-radius:5px;color:var(--muted)}
.dashboard-app .task-section .task-search input{font-size:12px;color:var(--ink)}
.dashboard-app .task-section .table-wrap{position:relative;border-color:var(--line)}
.dashboard-app .task-section .task-table{min-width:1040px;font-size:13px}
.dashboard-app .task-section .col-product{width:20%}.dashboard-app .task-section .col-times{width:14.5%}.dashboard-app .task-section .col-state{width:9%}.dashboard-app .task-section .col-stage{width:22%}.dashboard-app .task-section .col-total{width:13%}.dashboard-app .task-section .col-worker{width:9%}.dashboard-app .task-section .col-shop{width:8%}.dashboard-app .task-section .col-action{width:4.5%}
.dashboard-app .task-section .task-table th{height:40px;padding:9px 10px;line-height:20px;font-size:12px;color:#7e8c83;background:#f5f7f5;border-bottom-color:var(--line)}
.dashboard-app .task-section .task-table td{height:108px;padding:17px 10px;border-bottom:1px solid #eaf0eb;font-size:13px;line-height:21px;color:var(--ink);border-top:0}
.dashboard-app .task-section .task-table tr:last-child td{border-bottom:0}
.dashboard-app .task-section .task-table tr:hover td{background:#f8fbf8}
.dashboard-app .task-section .task-table tr.selected td{background:#f2f7f3;border-top:0;border-bottom-color:#dce7df;box-shadow:none}
.dashboard-app .task-section .product-cell{gap:12px}
.dashboard-app .task-section .product-picture{width:64px;height:64px;flex-basis:64px;border-radius:7px;border-color:var(--line)}
.dashboard-app .task-section .product-picture img{object-fit:contain}
.dashboard-app .task-section .product-cell a{font-size:13px;color:var(--ink);line-height:22px}
.dashboard-app .task-section .product-text small{font-size:11px;line-height:18px;color:var(--muted)}
.dashboard-app .task-section .task-table .badge{display:inline-block;font-size:11px;line-height:19px;padding:0 7px;border-radius:4px;color:#607267;background:#eef2ef;white-space:nowrap}
.dashboard-app .task-section .badge.waiting_human,.dashboard-app .task-section .badge.disconnected,.dashboard-app .task-section .badge.failed,.dashboard-app .task-section .badge.stalled{background:#fbefdf;color:#a76729}
.dashboard-app .task-section .badge.completed,.dashboard-app .task-section .badge.running{background:#e8f3e9;color:#327246}
.dashboard-app .task-section .task-stage-name{font-size:13px;line-height:22px}
.dashboard-app .task-section .task-progress{min-width:0;margin-top:3px;font-size:12px;line-height:20px;color:var(--muted)}
.dashboard-app .task-section .task-progress progress{height:6px;margin:6px 0}
.dashboard-app .task-section .task-progress .progress-summary{max-width:none;white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:18px;color:var(--muted)}
.dashboard-app .task-section .blockage-reason{max-width:none;line-height:19px;font-size:12px;color:#a76729;margin-top:7px;overflow-wrap:anywhere}
.dashboard-app .task-section .assigned-computer .computer-name{display:inline-flex;align-items:center;gap:5px;max-width:100%;font-size:12px;line-height:24px;color:#697b70}
.dashboard-app .task-section .computer-name.is-assigned{color:#245b42;font-weight:600}
.dashboard-app .task-section .computer-name .icon{width:15px;height:15px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.dashboard-app .task-section .computer-name>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-app .task-section .stage-executor{color:#245b42;font-weight:500}
.dashboard-app .task-section .assigned-computer small{display:block;color:var(--muted);font-size:11px;line-height:18px;overflow-wrap:anywhere}
.dashboard-app .task-section .task-times{display:grid;gap:7px;white-space:nowrap;font-size:12px;line-height:20px}
.dashboard-app .task-section .task-time{display:flex;align-items:baseline;gap:7px;line-height:20px}
.dashboard-app .task-section .task-time-label{flex:none;font-size:11px}
.dashboard-app .task-section .task-time-created{color:#667570}
.dashboard-app .task-section .task-time-heartbeat{color:#2f6f9f}
.dashboard-app .task-section .task-time-heartbeat time{font-weight:500}
.dashboard-app .task-section .task-shop .task-account-name{max-width:100%;font-size:12px}
.dashboard-app .task-section .task-shop .task-account-line{min-width:0;max-width:100%}
.dashboard-app .task-section td.task-actions{padding-left:3px;padding-right:3px;text-align:center}
.dashboard-app .task-section .task-actions .detail-task{display:inline-flex;align-items:center;justify-content:center;width:100%;max-width:56px;height:32px;padding:5px 6px;margin:0 auto;color:#fff;background:#31634e;border:1px solid #31634e;border-radius:6px;font-size:12px;line-height:20px;font-weight:500;text-align:center}
.dashboard-app .task-section .task-actions .detail-task:hover{background:#264f3e;border-color:#264f3e;filter:none}
.dashboard-app #computer-setup-dialog{width:820px;max-width:94vw;max-height:90vh;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:14px}
.dashboard-app #computer-setup-dialog[open]{display:flex;flex-direction:column}
.dashboard-app #computer-setup-dialog>.detail-top{flex:none;padding:20px 24px 14px;border-bottom:1px solid var(--line);background:#fff;gap:14px}
.dashboard-app #computer-setup-title{font-size:22px;line-height:30px;margin:0;min-width:0;overflow-wrap:anywhere}
.dashboard-app #computer-setup-dialog .close-dialog{flex:none}
.dashboard-app #computer-setup-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 24px 8px}
.dashboard-app .setup-overview{padding:14px 16px;background:#fff8ed;border:1px solid #f0dfbf;border-radius:9px}
.dashboard-app .setup-overview[data-state="ready"]{background:#f0f7f2;border-color:#cfe3d4}
.dashboard-app .setup-overview[data-state="blocked"]{background:#fff3f1;border-color:#ebcfca}
.dashboard-app .setup-overview[data-state="checking"]{background:#f1f6fb;border-color:#d1dfeb}
.dashboard-app #computer-setup-state{font-size:18px;line-height:26px;color:#92601d}
.dashboard-app [data-state="ready"]>#computer-setup-state{color:#2b6544}
.dashboard-app [data-state="blocked"]>#computer-setup-state{color:#aa4238}
.dashboard-app [data-state="checking"]>#computer-setup-state{color:#376c97}
.dashboard-app #computer-setup-status{font-size:13px;line-height:22px;margin:5px 0;color:#63716a}
.dashboard-app .setup-overview-meta{display:flex;align-items:center;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;font-size:12px;line-height:20px;color:#7a837e}
.dashboard-app #computer-setup-items{list-style:none;padding:0;margin:12px 0 0}
.dashboard-app .setup-item{padding:13px 0;border-bottom:1px solid #edf0ec}
.dashboard-app .setup-item:last-child{border-bottom:0}
.dashboard-app .setup-item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dashboard-app .setup-item-heading>strong{font-size:15px;line-height:25px;font-weight:600}
.dashboard-app .setup-badge{flex:none;font-size:12px;line-height:24px;padding:0 10px;border-radius:5px;background:#fff1d9;color:#95611d;font-weight:500;white-space:nowrap}
.dashboard-app .setup-badge.ready{background:#e7f3e9;color:#2d6b45}
.dashboard-app .setup-badge.blocked{background:#fbe9e6;color:#b34c3c}
.dashboard-app .setup-badge.checking{background:#e7f0f8;color:#356f9b}
.dashboard-app .setup-item>p{font-size:12px;line-height:21px;color:#7b857f;margin:4px 0 0;overflow-wrap:anywhere}
.dashboard-app .setup-evidence{display:block;font-size:12px;line-height:20px;color:#417052;margin-top:3px}
.dashboard-app .setup-item[data-state="blocked"] .setup-evidence{color:#aa4238}
.dashboard-app .setup-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 24px 18px;background:#fff;border-top:1px solid var(--line)}
.dashboard-app .setup-footer>p{font-size:12px;line-height:20px;color:#7b857f;margin:0;max-width:440px}
.dashboard-app #computer-setup-run{flex:none}
@media(max-width:760px){.dashboard-app #computer-setup-dialog{max-height:94vh;max-width:96vw}.dashboard-app #computer-setup-dialog>.detail-top{padding:16px}.dashboard-app #computer-setup-title{font-size:18px}.dashboard-app #computer-setup-content{padding:14px 16px 6px}.dashboard-app .setup-footer{padding:12px 16px;flex-wrap:wrap}.dashboard-app .setup-footer>p{max-width:none}.dashboard-app #computer-setup-run{width:100%}.dashboard-app .setup-item-heading>strong{font-size:14px}}
@media(max-width:760px){.dashboard-app .task-section .task-categories{height:auto;flex-wrap:wrap}.dashboard-app .task-section .task-categories button{flex:1 1 calc(50% - 5px)}}
.dashboard-app .task-section .queue-footer{min-height:44px;gap:12px;flex-wrap:wrap}
.dashboard-app .task-section .queue-footer p{font-size:11px;color:#88968d;white-space:normal}
.dashboard-app .task-section .page-button[aria-current="page"]{background:var(--green);border-color:var(--green)}
.dashboard-app .task-section :is(button,input,select):focus-visible,.dashboard-app .task-section .table-wrap:focus-visible{outline-color:#83ac93}
@media(max-width:1400px){.dashboard-app #workspace{grid-template-areas:"metrics" "status" "tasks" "create" "devices"}}
@media(max-width:760px){.dashboard-app .task-section{padding:14px 12px 0}.dashboard-app .task-section .queue-heading{display:block}.dashboard-app .queue-controls{justify-content:space-between;gap:10px;margin-top:12px}.dashboard-app .task-section .task-categories{width:100%}.dashboard-app .task-section .task-categories button{flex:1;padding:0 8px}.dashboard-app .task-section .task-search{width:100%}.dashboard-app .task-section .queue-footer .queue-note{order:3;width:100%}}

/* Mobile workspace: retain the desktop table and use readable task cards on phones. */
@media(max-width:760px){
  .dashboard-app>main{padding:16px 12px calc(24px + env(safe-area-inset-bottom));min-width:0}
  .dashboard-app #workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"metrics" "status" "create" "tasks" "devices";gap:16px}
  .dashboard-app .creation-column{margin-top:0}
  .dashboard-app .gate{width:100%;max-width:100%;margin:24px auto;padding:24px 18px}
  .dashboard-app .gate h1{font-size:26px;line-height:1.4}
  .dashboard-app .gate p{font-size:14px}
  .dashboard-app input:not([type=checkbox]):not([type=radio]),.dashboard-app select,.dashboard-app textarea,.dashboard-app #links,.dashboard-app .dispatch-row select,.dashboard-app .task-section #state-filter{font-size:16px}
  .dashboard-app button{min-height:44px;touch-action:manipulation}
  .dashboard-app .dispatch-row{grid-template-columns:minmax(0,1fr);gap:14px}
  .dashboard-app .dispatch-row select{height:44px}
  .dashboard-app .submit-panel{padding:18px 16px}
  .dashboard-app .task-section .task-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:auto}
  .dashboard-app .task-section .task-categories button{width:100%;height:44px;padding:0 6px;font-size:13px}
  .dashboard-app .task-section .task-search{height:44px}
  .dashboard-app .task-section #refresh{height:44px;min-width:72px}
  .dashboard-app .task-section #state-filter{width:140px;height:44px}
  .dashboard-app .task-section .table-wrap{border:0;overflow:visible}
  .dashboard-app .task-section .task-table{display:block;min-width:0;width:100%;table-layout:auto}
  .dashboard-app .task-section .task-table colgroup{display:none}
  .dashboard-app .task-section .task-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .dashboard-app .task-section .task-table tbody{display:grid;gap:14px}
  .dashboard-app .task-section .task-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;padding:14px;gap:12px}
  .dashboard-app .task-section .task-table td,.dashboard-app .task-section .task-table tr.selected td{height:auto;min-width:0;padding:0;border:0;background:transparent;overflow-wrap:anywhere}
  .dashboard-app .task-section .task-table td::before{display:block;font-size:12px;line-height:20px;color:var(--muted);margin-bottom:5px}
  .dashboard-app .task-section .task-table td:nth-child(1),.dashboard-app .task-section .task-table td:nth-child(2),.dashboard-app .task-section .task-table td:nth-child(3),.dashboard-app .task-section .task-table td:nth-child(4),.dashboard-app .task-section .task-table td:nth-child(5),.dashboard-app .task-section .task-table td:last-child{grid-column:1/-1}
  .dashboard-app .task-section .task-table td:nth-child(4)::before{content:"阶段执行进度"}
  .dashboard-app .task-section .task-table td:nth-child(5)::before{content:"总执行进度"}
  .dashboard-app .task-section .task-table td:nth-child(6)::before{content:"执行电脑"}
  .dashboard-app .task-section .task-table td:nth-child(7)::before{content:"上架店铺"}
  .dashboard-app .task-section .product-cell{min-width:0;max-width:none;width:100%;align-items:flex-start}
  .dashboard-app .task-section .product-cell a{max-width:none;white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:23px}
  .dashboard-app .task-section .product-text small{white-space:normal;overflow-wrap:anywhere}
  .dashboard-app .task-section .task-times{white-space:normal;gap:4px}
  .dashboard-app .task-section .task-time{white-space:normal;flex-wrap:wrap;gap:4px 8px}
  .dashboard-app .task-section .task-shop .task-account-line{white-space:normal;flex-wrap:wrap}
  .dashboard-app .task-section .task-actions .detail-task{max-width:none;width:100%;height:44px;font-size:14px}
  .dashboard-app .task-section .task-progress,.dashboard-app .task-section .blockage-reason{font-size:13px;line-height:21px}
  .dashboard-app .page-button{min-width:44px;min-height:44px}
  .dashboard-app .queue-footer{align-items:center}
  .dashboard-app .link-row{min-width:0;flex-wrap:wrap}
  .dashboard-app .link-row .quiet,.dashboard-app #add-links{min-height:44px}
  .dashboard-app dialog,.dashboard-app #detail-dialog,.dashboard-app #editor-dialog,.dashboard-app #computer-setup-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}
  .dashboard-app #detail-dialog>.detail-top,.dashboard-app #editor-dialog>.detail-top{padding:12px 16px;gap:8px}
  .dashboard-app #detail,.dashboard-app #editor-content{padding:12px 16px calc(20px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-wrap:anywhere}
  .dashboard-app .detail-grid,.dashboard-app .workspace-buttons,.dashboard-app .strategy-grid{grid-template-columns:minmax(0,1fr)}
  .dashboard-app .detail-top .eyebrow{font-size:11px;letter-spacing:.03em}
  .dashboard-app .dialog-actions{flex-wrap:wrap}
  .dashboard-app .dialog-actions button{flex:1;white-space:normal}
  .dashboard-app .cost-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
  .dashboard-app .cost-row>label:first-child{grid-column:1/-1}
  .dashboard-app .cost-bulk-tools{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}
  .dashboard-app .cost-bulk-tools button{grid-column:1/-1;white-space:normal}
  .dashboard-app .strategy-editor .strategy-section{padding:12px}
  .dashboard-app .strategy-editor .strategy-head,.dashboard-app .strategy-editor .strategy-roi-bar{flex-wrap:wrap}
  .dashboard-app .strategy-editor .strategy-segmented{flex-basis:100%;min-width:0}
  .dashboard-app .computers{grid-template-columns:minmax(0,1fr)}
}
