.task-center-dialog{width:min(1120px,calc(100vw - 28px));max-height:90dvh;padding:0;border:1px solid #cddcd3;border-radius:12px;background:#fff;color:#294b3c;box-shadow:0 25px 80px #15372e38;overflow:hidden}.task-center-dialog::backdrop,.task-table-dialog::backdrop{background:#12392c45}.task-heading{display:flex;justify-content:space-between;align-items:center;padding:19px 23px;border-bottom:1px solid #e0e9e2}.task-heading small{font-size:9px;letter-spacing:1.2px;color:#7b9184}.task-heading h2{margin:4px 0;font-size:24px;letter-spacing:-.5px}.task-heading>button,.task-table-dialog header>button{font-size:27px;background:transparent;border:0;color:#4d7961;cursor:pointer}.task-heading #task-center-count{font-size:11px;color:#76907e}.task-toolbar{display:flex;gap:8px;padding:12px 23px;border-bottom:1px solid #e7ede7;flex-wrap:wrap}.task-center-dialog button,.task-table-dialog button{font:inherit}.task-toolbar button,.task-actions button,.task-new-form>button{background:#fff;color:#2c7254;border:1px solid #c6d8ca;border-radius:5px;padding:8px 11px;font-size:11px;cursor:pointer}.task-center-dialog button:disabled,.task-table-dialog button:disabled{opacity:.45;cursor:not-allowed}.task-grid{display:grid;grid-template-columns:270px minmax(0,1fr);max-height:65dvh;min-height:330px}.task-list{overflow:auto;border-right:1px solid #dfe9e0;padding:10px}.task-list>button{width:100%;text-align:left;border:1px solid transparent;background:#fff;border-radius:6px;padding:12px;display:grid;gap:6px;cursor:pointer;color:#315b43}.task-list>button.selected{border-color:#b6d2c0;background:#eff6f0}.task-list b{font-size:12px;overflow-wrap:anywhere;font-weight:600}.task-list small{font-size:9px;color:#77917e}.task-badge{font-size:9px;line-height:1.2;display:inline-block;width:max-content;max-width:100%;padding:4px 6px;border:1px solid #d3dfd2;border-radius:4px;background:#f3f6ef;color:#6d8066}.task-badge.running,.task-badge.queued{background:#e9f3ee;color:#2e7c5d}.task-badge.partial,.task-badge.interrupted{background:#fbf1dc;color:#8d692f;border-color:#ecddbb}.task-badge.failed{background:#fbede8;color:#a54b35;border-color:#efd6ca}.task-badge.completed{background:#eaf5e9;color:#3f7e47}.task-detail{padding:20px 23px;overflow:auto;min-width:0}.task-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.task-detail h3,.task-plan h3,.task-new-form h3{font-size:19px;line-height:1.4;margin:8px 0 18px;overflow-wrap:anywhere}.task-location{font-size:10px;color:#5e896d;border:1px solid #cce0d0;background:#f1f7ef;border-radius:4px;padding:6px;white-space:nowrap}.task-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 15px}.task-fact{display:grid;gap:5px;padding:9px 0;border-bottom:1px solid #edf1e9;overflow-wrap:anywhere}.task-fact small{font-size:10px;color:#81927d}.task-fact strong{font-size:12px;font-weight:550;line-height:1.5}.task-note{font-size:11px;line-height:1.75;color:#798c76;margin:15px 0}.task-actions{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.task-error{color:#9d4d36;background:#fbf0e9;padding:10px;border-radius:5px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.task-output,.task-progress{font-size:11px;line-height:1.7;color:#5b7d5f;overflow-wrap:anywhere}.task-parts{font-size:11px;margin-top:18px}.task-parts summary{cursor:pointer;color:#63856b}.task-parts table,.task-table-scroll table{width:100%;border-collapse:collapse;font-size:10px;margin-top:12px}.task-parts th,.task-parts td,.task-table-scroll th,.task-table-scroll td{padding:8px;text-align:left;border-bottom:1px solid #e3ebe0;white-space:nowrap;max-width:420px;overflow:hidden;text-overflow:ellipsis}.task-parts th,.task-table-scroll th{background:#f0f5ec;font-weight:550;color:#6c876b}.task-parts{overflow:auto}.task-empty{font-size:12px;color:#84947d;line-height:1.8;padding:14px}.task-message{font-size:11px;padding:0 23px;color:#9b6d38;line-height:1.7}.task-message:empty{display:none}.task-plan,.task-new-form{padding:22px 26px;max-height:65dvh;overflow:auto}.task-new-form{display:grid;gap:14px}.task-new-form label{display:grid;gap:7px;font-size:12px}.task-new-form label:has(input[type=checkbox]){display:flex;gap:8px;align-items:center}.task-new-form input:not([type=checkbox]),.task-new-form select,.task-new-form textarea{font:inherit;padding:10px;border:1px solid #c8d8ca;border-radius:5px;background:#fff;color:#31593f;min-width:0;width:100%}.task-new-form .task-note{margin:0}.task-new-form .task-primary{background:#26745a;border-color:#26745a;color:#fff;justify-self:start}.task-new-form #native-task-file-list{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;color:#769072}.task-table-dialog{width:min(1100px,calc(100vw - 28px));max-height:85dvh;padding:20px;border:1px solid #c7d9ca;border-radius:10px;color:#32553d}.task-table-dialog header{display:flex;justify-content:space-between;align-items:center}.task-table-dialog h3{font-size:18px;margin:4px 0 12px}.task-table-dialog>p{font-size:11px;color:#7a8f73}.task-table-scroll{overflow:auto;max-height:60dvh}.task-table-scroll th{position:sticky;top:0}.dw-execution{display:grid;gap:7px;font-size:11px;margin:14px 0 7px}.dw-estimate{font-size:10px;line-height:1.75;padding:9px;border:1px solid #dce7d7;border-radius:4px;background:#f4f8f0;color:#7d8c6c}.device-engine-form{display:grid;gap:11px;margin:15px 0}.device-engine-form label{display:grid;gap:6px;font-size:11px}.device-engine-form input{font:inherit;padding:9px;border:1px solid #c8d9ca;border-radius:5px;color:#3d5d46;background:#fff}.device-engine-downloads{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.device-engine-downloads a{font-size:11px;border:1px solid #bcd3c1;border-radius:5px;padding:9px 11px;color:#2b7453;text-decoration:none}.device-engine-package{font-size:10px;color:#7e8d74;overflow-wrap:anywhere}.device-engine-package summary{cursor:pointer}.device-native-status{display:grid;gap:3px}.device-native-status small{font-size:10px;color:#7f9479}
@media(max-width:700px){.task-center-dialog{width:calc(100vw - 16px);max-height:94dvh}.task-heading{padding:15px}.task-heading h2{font-size:21px}.task-toolbar{padding:10px 15px;gap:6px}.task-toolbar button{font-size:10px;padding:7px 8px}.task-grid{grid-template-columns:1fr;max-height:72dvh;display:block}.task-list{display:flex;gap:7px;border:0;border-bottom:1px solid #dfe9e0;overflow-x:auto;max-height:150px}.task-list>button{min-width:195px;max-width:220px}.task-detail{padding:15px;max-height:52dvh}.task-detail-heading{display:block}.task-location{display:inline-block;margin-bottom:9px}.task-detail h3{font-size:17px;margin-bottom:11px}.task-facts{gap:5px 10px}.task-fact strong{font-size:11px}.task-fact small{font-size:9px}.task-actions button{font-size:10px;padding:7px 8px}.task-plan,.task-new-form{padding:16px;max-height:72dvh}.task-table-dialog{width:calc(100vw - 16px);padding:14px}.task-table-scroll{max-height:60dvh}}

.layer-purpose-badge.purpose-native{background:#e7effc;color:#28518c;border-color:#c5d6f0}

.task-table-size{display:flex;gap:10px;align-items:center;font-size:11px;color:#637f68}.task-table-size select{padding:6px;border:1px solid #c8d9ca;border-radius:4px;background:#fff;color:inherit}
.native-query-form{display:grid;grid-template-columns:1.5fr 1fr .8fr 1fr auto auto;gap:8px;align-items:end;margin:14px 0}.native-query-form label{display:grid;gap:5px;min-width:0;font-size:10px}.native-query-form input,.native-query-form select,.native-table-selection select{width:100%;min-width:0;border:1px solid #cad9ce;border-radius:4px;background:white;padding:7px;color:#315c45;font:inherit}.native-query-form button,.native-table-selection button{border:1px solid #bfd4c6;border-radius:4px;background:#f6faf5;color:#2b7453;padding:8px;font:inherit;font-size:10px;cursor:pointer}.native-table-selection{display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:10px;padding:9px 0}.native-table-selection label{display:flex;gap:5px;align-items:center}.native-table-selection select{width:auto;max-width:180px}.task-table-scroll th button{border:0;padding:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left}.task-table-scroll .native-row-selected{background:#f2ebfa}.task-table-scroll tr[data-native-row]{cursor:default}.task-table-scroll tr[data-native-row]:hover{background:#f1f6f3}.task-table-scroll tr[data-native-row].native-row-selected:hover{background:#e9ddf4}.task-table-scroll tr[data-native-row] input{accent-color:#8952b3}.task-table-dialog:has(.native-query-form) .task-table-scroll{max-height:42dvh}
@media(max-width:800px){.native-query-form{grid-template-columns:1fr 1fr}.native-query-form label:first-child{grid-column:1/-1}.task-table-dialog:has(.native-query-form) .task-table-scroll{max-height:35dvh}}
.task-table-scroll .native-record-map-cell{position:sticky;left:0;z-index:1;background:#fff;width:1%;min-width:68px}.task-table-scroll th.native-record-map-cell{z-index:3;background:#f0f5ec}.task-table-scroll .native-record-locate{padding:6px 9px;border:1px solid #bfd4c6;border-radius:4px;background:#f6faf5;color:#2b7453;font-size:11px;white-space:nowrap;cursor:pointer;min-height:30px}.task-table-scroll .native-record-locate:focus-visible{outline:2px solid #26745a;outline-offset:2px}.task-table-scroll .native-row-selected .native-record-map-cell{background:#f2ebfa}.task-table-scroll tr[data-native-row]:hover .native-record-map-cell{background:#f1f6f3}.task-table-scroll tr[data-native-row].native-row-selected:hover .native-record-map-cell{background:#e9ddf4}

.native-fixed-input{padding:8px 10px;border:1px solid #d4e0cf;background:#f1f6ef;border-radius:4px;font-size:11px;color:#55704e;overflow-wrap:anywhere}

/* The result table is modeless so the map and its exact rows can be linked. */
#native-result-table.native-table-dock{position:fixed;inset:auto 8px 32px 294px;margin:0;padding:12px 15px;width:calc(100vw - 310px);height:auto;max-height:45dvh;max-width:none;overflow:auto;z-index:1300;border-radius:8px;box-shadow:0 -5px 28px #183c3724;overscroll-behavior:contain}
#native-result-table.native-table-dock header{gap:10px}#native-result-table.native-table-dock h3{font-size:14px;margin:0}
#native-result-table.native-table-dock .native-query-form{margin:7px 0;gap:6px}#native-result-table.native-table-dock .native-table-selection{padding:3px 0}
#native-result-table.native-table-dock .task-table-scroll{max-height:22dvh;min-height:80px}
#native-result-table.native-table-dock .task-actions{margin:7px 0 0}#native-result-table.native-table-dock>p{margin:5px 0}
.native-table-focus-help{font-size:10px;color:#6e8474}.task-table-scroll .native-row-focused{outline:2px solid #158477;outline-offset:-2px;background:#e1f4ed}.task-table-scroll .native-row-focused>.native-record-map-cell{background:#e1f4ed}
.native-focused-record{border:1px solid #72b5a3;border-radius:5px;background:#eff9f4;padding:8px;margin:7px 0;font-size:10px}.native-focused-record>header{display:flex;gap:10px;align-items:center}.native-focused-record>header>span{flex:1;overflow-wrap:anywhere;color:#587366}.native-focused-record button{font:inherit;border:1px solid #9bc8b9;border-radius:3px;padding:4px 7px;background:white;color:#286e58}.native-focused-record>p{font-size:10px;margin:4px 0;color:#547664}.native-focused-scroll{overflow:auto;max-height:110px}.native-focused-scroll table{border-collapse:collapse;font-size:10px}.native-focused-scroll th,.native-focused-scroll td{text-align:left;padding:6px 8px;white-space:nowrap;max-width:310px;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid #cfe7dc}.native-focused-scroll th{background:#e2f2e9}
@media(max-width:700px){#native-result-table.native-table-dock{padding:9px;left:8px;width:calc(100vw - 16px);max-height:46dvh}#native-result-table.native-table-dock .native-query-form{grid-template-columns:1fr 1fr}#native-result-table.native-table-dock .task-table-scroll{max-height:18dvh}#native-result-table.native-table-dock .native-query-form input,#native-result-table.native-table-dock .native-query-form select{padding:4px}#native-result-table.native-table-dock .native-query-form button,#native-result-table.native-table-dock .native-table-selection button{padding:5px}.native-table-focus-help{font-size:9px}}
/* Make the separate file-ready and layer-added states explicit. */
.task-result-handoff{margin:14px 0;padding:15px;border:1px solid #bfd6c6;border-radius:7px;background:#f2f8f4}
.task-result-handoff>strong{font-size:14px;color:#23573f}
.task-result-handoff>p{font-size:12px;line-height:1.65;margin:7px 0;color:#526c5d}
.task-result-handoff .task-result-count{font-size:13px;color:#294b3c;font-variant-numeric:tabular-nums}
.task-result-handoff .task-result-warning{color:#815521}
.task-result-handoff [data-task-action=add-result]{background:#236c54;color:white;border-color:#236c54;font-weight:650;padding:10px 15px}
.task-result-handoff [data-task-action=add-result]:disabled{opacity:.6}
