/* Creation and Enhance share the adaptive native-dialog component. */
#modal.pmp-worker-dialog{width:740px;background:radial-gradient(ellipse at 100% 0,#7b55981a,transparent 48%),#10131d}
.pmp-worker-dialog .dialog-head h2{font-size:.72rem!important;letter-spacing:.13em!important;text-transform:uppercase;color:#bdb4ce;font-weight:550!important}
.pmp-worker-dialog .dialog-head{padding:16px 24px!important;border-bottom:0!important}.pmp-worker-dialog .dialog-body{padding:0!important}
.pmp-worker-dialog .dialog-footer .worker-background{margin-right:auto;text-align:left;color:#bcb5ca;font-size:.82rem}
.worker-dialog{--worker-accent:#c2a7ff;--worker-soft:#bd97ff15;padding:0 28px 22px;display:flex;flex-direction:column;container:worker / inline-size}
.worker-dialog[data-tone=ready]{--worker-accent:#95e3cb;--worker-soft:#8ce6cb12}.worker-dialog[data-tone=attention]{--worker-accent:#edbd93;--worker-soft:#edbd9312}
.worker-hero{display:flex;align-items:center;gap:22px;padding:14px 0 25px;order:0}
.worker-emblem{display:grid;place-items:center;flex:0 0 76px;height:76px;border:1px solid color-mix(in srgb,var(--worker-accent) 30%,transparent);border-radius:24px;color:var(--worker-accent);background:radial-gradient(ellipse at 20% 0,var(--worker-soft),transparent 80%),#171925;box-shadow:inset 0 1px 0 #ffffff10,0 12px 32px #0002}.worker-emblem .icon{width:34px;height:34px}
.worker-hero-copy{min-width:0;flex:1}.worker-badge{display:inline-flex;align-items:center;gap:7px;font-size:.67rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--worker-accent)}.worker-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.worker-title{font-size:clamp(1.45rem,1.2rem + .8cqi,1.9rem);font-weight:580;line-height:1.18;letter-spacing:-.04em;text-wrap:balance;margin:9px 0 10px}.worker-title:focus:not(:focus-visible){outline:0}
.worker-message{font-size:.87rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#abb3c7;margin:0;max-width:53ch;text-wrap:pretty}.worker-time{display:block;margin-top:10px;font-size:.65rem;color:#8993aa;font-variant-numeric:tabular-nums}
.worker-section{padding:19px 0;border-top:1px solid #ffffff10}.worker-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.worker-section-heading h4{font-weight:550;font-size:.8rem;color:#d9d4e5;margin:0}.worker-section-heading>span{font-size:.68rem;color:#8f98ae}
.worker-progress{order:2;padding-top:0;border-top:0}.worker-progress .worker-section-heading{display:none}.worker-steps,.worker-tracks{list-style:none;margin:0;padding:0}.worker-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.worker-step{padding:14px;border:1px solid #ffffff10;border-radius:12px;background:#ffffff02;display:grid;grid-template-columns:22px 1fr;gap:9px;align-items:start;min-width:0}.worker-step-marker{display:grid;place-items:center;width:21px;height:21px;border:1px solid #ffffff24;border-radius:50%;font-size:.65rem;color:#8891a5;font-variant-numeric:tabular-nums}
.worker-step-copy{min-width:0}.worker-step-copy strong{display:block;font-size:.73rem;line-height:1.5;color:#b8bfd1;font-weight:550}.worker-step-state{display:block;color:#8f99b0;font-size:.64rem;line-height:1.5;margin-top:4px}.worker-step-copy p{display:none}
.worker-step[data-state=active]{border-color:#c1a2ff4d;background:#c1a2ff08}.worker-step[data-state=active] .worker-step-marker{border-color:#c1a2ff;color:#c1a2ff;background:#b799ed16}.worker-step[data-state=active] .worker-step-state{color:#c1a2ff}.worker-step[data-state=complete] .worker-step-marker{color:#8edabe;border-color:#8edabe55;background:#8edabe0a}.worker-step[data-state=failed]{border-color:#ecbb9233}.worker-step[data-state=failed] .worker-step-marker{color:#edbd93;border-color:#edbd9344}
.worker-section.worker-tracks-section{order:1;border-top:0;padding:0 0 20px}.worker-track{display:flex;align-items:center;gap:14px;padding:16px;background:linear-gradient(110deg,#ab8ad515,#a4b5d904);border:1px solid #c6b1e52d;border-radius:14px;margin-bottom:8px}.worker-track>div{flex:1;min-width:0}.worker-track strong{display:block;font-size:.85rem;font-weight:550;overflow-wrap:anywhere;line-height:1.4}.worker-track span{display:block;font-size:.72rem;line-height:1.5;color:#a8b2c9;margin-top:5px;overflow-wrap:anywhere}.worker-track button{flex-shrink:0;color:#201139!important;background:#c7aff7!important;border:0!important;min-width:74px}.worker-track-number{display:grid!important;place-items:center;flex:0 0 34px!important;width:34px;height:34px;border-radius:50%;border:1px solid #ffffff16;color:#d5c7e9!important;font-size:.7rem!important;margin:0!important;font-variant-numeric:tabular-nums}
.worker-connection{order:1}.worker-error{order:1}.worker-action-error{order:8}.worker-connection,.worker-error,.worker-action-error{margin:0 0 18px!important;white-space:pre-wrap;overflow-wrap:anywhere}.worker-error,.worker-action-error{border-color:#edbd9330!important;background:#edbd9309!important;color:#e9c6aa!important}
.worker-source{order:4;border:1px solid #ffffff13;border-radius:12px;padding:0;background:#0a0d1444;margin:0 0 8px}.worker-source summary{cursor:pointer;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;font-size:.76rem;color:#b6bdd1;min-height:44px}.worker-source summary:after{content:'+';font-size:1.1rem;color:#9c8caf}.worker-source[open] summary:after{content:'−'}.worker-source summary::-webkit-details-marker{display:none}
.worker-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:.88rem;color:#d5d2e1;margin:0}.worker-source-text{padding:0 16px 16px;max-height:180px;overflow:auto}
.worker-compare{order:1;border:0;padding:0 0 20px}.worker-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.worker-comparison article{min-width:0;background:#080b1366;border:1px solid #ffffff17;border-radius:14px;overflow:hidden}.worker-comparison h5{margin:0;padding:13px 16px;color:#a6adc1;font-size:.67rem;letter-spacing:.07em;text-transform:uppercase;border-bottom:1px solid #ffffff0d;font-weight:600}.worker-comparison .worker-prose{padding:16px;max-height:250px;overflow:auto}.worker-comparison article.worker-revision{border-color:#b498ee50;background:#b498ee08}.worker-revision h5{color:#ceb8fc}.worker-preserved{font-size:.71rem;line-height:1.5;color:#9fa8be;margin:12px 0 0}.worker-unchanged{margin-top:12px}
.worker-details{order:5;border:0;padding:0;margin-bottom:8px}.worker-request{order:6;border:1px solid #ffffff13;border-radius:12px;background:#0a0d1444;overflow:hidden}.worker-request summary{cursor:pointer;padding:14px 16px;font-size:.75rem;color:#aab3c8;line-height:1.5;min-height:44px}.worker-request summary span{font-size:.67rem;color:#8691a7;margin-left:10px}.worker-request-text{font:.72rem/1.7 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:#b4bcd0;max-height:260px;overflow:auto;margin:0;padding:0 16px 16px;tab-size:2}.worker-no-steps{font-size:.78rem;color:#9ba5bb}.worker-close-note{order:7;font-size:.68rem;line-height:1.5;color:#939db3;margin:15px 0 0}.worker-dialog :focus-visible{outline:2px solid #d2bbff;outline-offset:3px}.pmp-worker-dialog button:disabled{opacity:.5;cursor:wait}
@container worker (max-width:520px){.worker-hero{gap:14px;padding-top:8px}.worker-emblem{flex-basis:48px;height:48px;border-radius:16px}.worker-emblem .icon{width:24px;height:24px}.worker-title{font-size:1.45rem}.worker-message{font-size:.83rem}.worker-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.worker-step{display:flex;flex-direction:column;padding:10px;gap:8px}.worker-step-copy strong{font-size:.68rem}.worker-step-state{font-size:.61rem}.worker-comparison{grid-template-columns:1fr}.worker-request summary span{display:none}.worker-track{padding:12px;gap:10px}.worker-track-number{display:none!important}}
@media(max-width:600px){.worker-dialog{padding:0 20px 18px}.pmp-worker-dialog .dialog-head{padding:14px 20px!important}.pmp-worker-dialog .dialog-footer{gap:8px!important}.pmp-worker-dialog .dialog-footer button{flex:1;font-size:.78rem!important;padding:10px!important}.pmp-worker-dialog .dialog-footer .worker-background{flex-basis:auto;margin:0;font-size:.75rem!important}}
@media(forced-colors:active){.worker-step,.worker-source,.worker-request,.worker-track,.worker-emblem,.worker-comparison article{background:Canvas;border-color:CanvasText}.worker-step-marker{border-color:CanvasText}.worker-step[aria-current=step]{outline:2px solid Highlight}.worker-track button{color:ButtonText!important;background:ButtonFace!important;border:1px solid ButtonText!important}}
.worker-revision textarea.worker-prose{display:block;width:100%;min-height:180px;resize:vertical;background:transparent;border:0;border-radius:0;font-family:inherit;color:inherit}
.worker-plan-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;margin:0;padding:0 16px 16px;font:12px/1.7 ui-monospace,Consolas,monospace;color:#b4bcd0}

.worker-dialog .connected-result{font-size:.78rem;color:#bbc6dc;border:1px solid #ffffff13;border-radius:12px;padding:0 16px;overflow-wrap:anywhere}.worker-dialog .connected-result summary{cursor:pointer;color:#d5bff4;padding:14px 0;min-height:44px}.worker-dialog .connected-result dl{display:grid;gap:12px;margin:0 0 16px}.worker-dialog .connected-result dl>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:12px}.worker-dialog .connected-result dd{margin:0;color:#eef2fb;white-space:pre-wrap}.worker-dialog .connected-result p{font-size:.73rem;line-height:1.6;margin:12px 0;color:#aab8d0}@container worker (max-width:440px){.worker-dialog .connected-result dl>div{grid-template-columns:1fr;gap:4px}}
