.job-wizard{display:grid;gap:14px;margin:4px 0 20px;min-width:0}
.job-step{min-width:0;border:1px solid #d8c7d4;border-radius:12px;background:#fffafb;scroll-margin-block:18px;transition:border-color .25s,background .25s}
.job-step.is-active{border-color:#96718c;background:#f8f1f6}
.job-step.is-complete{border-color:#baa1b3;background:#f2e9f0}
.job-step.is-locked{background:#f7f4f6}
.job-step-head{display:flex;align-items:center;gap:12px;padding:17px 15px;min-width:0}
.job-step-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#e8dce5;color:#715368;font-size:14px}
.job-step-icon svg{display:none;width:21px;height:21px}
.job-step.is-complete .job-step-icon{color:#fff;background:#715368;box-shadow:0 0 0 4px #dfcbdc,0 0 17px #98708b88;animation:job-step-confirm .65s ease-out}
.job-step.is-complete .job-step-icon>span{display:none}
.job-step.is-complete .job-step-icon svg{display:block}
.job-step-heading{min-width:0;flex:1}
.admin-site .job-step-heading h3{font-size:16px;line-height:1.4;margin:0;font-weight:600;overflow-wrap:anywhere}
.job-step-heading h3:focus-visible{outline:2px solid #715368;outline-offset:3px}
.job-step-state{display:block;font-size:12px;color:#755f70;margin-top:3px}
.job-step-edit{flex:none;min-height:44px;padding:8px 2px;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.job-step-summary{font-size:13px;line-height:1.65;color:#695360;margin:0;padding:0 15px 16px;overflow-wrap:anywhere}
.job-step-panel{padding:2px 15px 17px;min-width:0}
.job-step .job-step-fields{grid-template-columns:minmax(0,1fr);gap:16px}
.job-step .job-customer-section{padding:0;border:0;background:transparent}
.job-step .job-products-disclosure{border:0;background:transparent}
.job-step .job-products-content{padding:0}
.job-step .job-edit-contract{grid-column:1/-1;margin:0}
.job-step .job-step-next{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;margin-top:20px;font-size:14px}
.job-step .job-date-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
.job-step [data-job-date-calendar]{min-width:0}
[data-job-wizard] [hidden]{display:none!important}
[data-job-wizard] .job-edit-save-actions{margin-top:20px}
[data-job-wizard] .job-edit-save-actions .btn{min-height:48px}
@keyframes job-step-confirm{from{box-shadow:0 0 0 0 #bb95b1,0 0 0 #98708b00;transform:scale(.88)}to{box-shadow:0 0 0 4px #dfcbdc,0 0 17px #98708b88;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.job-step,.job-step-icon{animation:none!important;transition:none!important}}
.job-customer-match-dialog{width:min(500px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #c4adbe;border-radius:14px;background:#faf5f8;color:#594653;font:inherit;box-shadow:0 24px 80px #39214233}
.job-customer-match-dialog::backdrop{background:#30233280}
.job-customer-match-dialog h2{font-size:22px;line-height:1.4;margin:0 0 20px}
.job-customer-match-list{display:grid;gap:10px}
.job-customer-match-option{display:flex;align-items:center;gap:12px;margin:0;padding:15px;border:1px solid #d8c7d4;border-radius:8px;background:#fffafb;cursor:pointer}
.job-customer-match-option:has(input:checked){border-color:#715368;background:#eadde7;box-shadow:0 0 0 1px #715368}
.admin-site .job-customer-match-option input[type="radio"]{flex:none;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#715368}
.job-customer-match-option span{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.job-customer-match-option small{font-size:13px;line-height:1.5}
.job-customer-match-dialog .form-actions{margin-top:22px;display:flex;gap:10px}
.job-customer-match-dialog .form-actions .btn{flex:1;min-height:48px}
.job-customer-match-dialog button:disabled{opacity:.45;cursor:not-allowed}

[data-job-wizard-mode="edit"] .job-step.is-complete .job-step-icon{animation:none;box-shadow:none}
