/* V17: calm cards, one job header and touch-friendly actions. */
.job-heading{background:#fff;border:1px solid #dce4e9;border-radius:14px;padding:22px;display:grid;grid-template-columns:minmax(200px,1fr) minmax(280px,450px);gap:18px}.job-heading>div:first-child{grid-column:1}.job-heading h1{overflow-wrap:anywhere}.job-heading #jobSubtitle{font-size:16px;color:#365164;font-weight:650}.job-heading .v16-job-controls{grid-column:2;grid-row:1}.booking-top-actions{grid-column:1/-1;justify-content:flex-start}.job-heading select{min-height:48px;font-size:15px}.job-panel{border-color:#dce4e9!important;border-left-width:1px!important;box-shadow:none}.job-panel input,.job-panel select{min-height:48px;font-size:15px}.job-panel label{font-size:13px}.job-panel textarea{font-size:15px;padding:14px}.job-panel h2{font-size:18px}.job-panel{padding:24px}.job-fields{gap:16px}#mechanicCurrentStatus,.mechanic-step-no,.mechanic-kicker{display:none!important}.mechanic-step label{display:block}.mechanic-step{margin-bottom:18px}.mechanic-head{margin-bottom:18px}#customerPanel{scroll-margin-top:20px}.job-overview{display:none}.v17-tools{align-self:center}.v17-tools summary{cursor:pointer;padding:14px;font-size:13px;font-weight:700}.v17-tools[open] #jobTools{padding:10px}.job-tool-row{justify-content:space-between;gap:14px}.v16-job-links{gap:8px}.v16-job-links a{font-size:12px;padding:13px}.job-savebar{position:sticky;bottom:14px;z-index:15;gap:12px;padding:14px;background:white}.v17-save-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.v17-save-actions button,.photo-upload{min-height:48px;padding:12px 18px!important;font-size:14px!important;border:1px solid #dce4e9;border-radius:9px;background:#fff;color:#234354;font-weight:750;cursor:pointer}.v17-save-actions #saveJob{background:#142b3a;color:white}.photo-upload{display:flex!important;align-items:center;justify-content:center;max-width:340px;background:#f5f7f8!important}.photo-upload input{min-height:0}.job-content{padding-bottom:130px}.job-savebar #saveState{max-width:45%;line-height:1.4}.simple-details>summary{min-height:48px;padding:12px 0;font-size:14px}.job-actions a,.job-actions button,.booking-top-actions button{min-height:46px}.v17-calendar-help{font-size:13px;color:#596d7c;padding:8px 16px;line-height:1.6}.p-event-wrap{border:1px solid #dce4e9!important;border-left:1px solid #dce4e9!important;background:#fff!important}.p-event{background:#fff!important;color:#263e50!important;padding-right:34px!important}.p-event-status{border-radius:6px;padding:2px 5px;background:#f2f4f6;width:fit-content}.working .p-event-status{background:#f4f0ff;color:#6735b3}.ready .p-event-status{background:#ecf9f0;color:#1a7c46}.waiting .p-event-status,.approval .p-event-status,.parts-order .p-event-status{background:#fff7e9;color:#9a6118}.v17-drag-handle{position:absolute;right:3px;bottom:2px;z-index:4;border:1px solid #dce4e9;border-radius:5px;background:#f4f6f8;color:#415d70;font-size:22px;line-height:1;min-height:28px;min-width:28px;touch-action:none;cursor:grab}.tiny .v17-drag-handle{top:0;bottom:0;min-height:18px;font-size:17px}.p-event-wrap[draggable=true]{cursor:grab}.v17-drop-hover{background:#e4f1f7!important;outline:2px dashed #426a80;outline-offset:-2px}.v17-dragging{opacity:.5}.v17-is-dragging{user-select:none}.v17-move-dialog,.v17-edit-dialog{border:1px solid #dce4e9;border-radius:16px;padding:26px;width:min(500px,calc(100vw - 28px));max-height:90dvh;color:#253e50}.v17-move-dialog::backdrop,.v17-edit-dialog::backdrop{background:#10293880}.v17-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.v17-dialog-actions button{padding:13px 17px;min-height:48px;font:inherit;border:1px solid #dce4e9;border-radius:8px;cursor:pointer}.v17-dialog-actions .primary{background:#142b3a;color:white}.v17-edit-dialog label{display:grid;gap:7px;margin:16px 0;font-size:14px}.v17-edit-dialog input,.v17-edit-dialog textarea{padding:13px;border:1px solid #dce4e9;border-radius:8px;font:inherit;width:100%;box-sizing:border-box}.planner-job{border-color:#e3e8ec!important;border-left:0!important;gap:12px!important}.planner-job-link strong{font-size:16px!important}.planner-job-link>span{font-size:14px!important}.planner-job-link small{font-size:11px!important}.planner-job-work{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:480px;font-size:13px!important;margin:7px 0!important}.v16-planner-assignee{display:none!important}.v17-edit-job{min-height:46px;padding:10px 15px;border:1px solid #dce4e9;border-radius:8px;background:#fff;color:#25495f;font-weight:750;cursor:pointer;white-space:nowrap}.cal-page[data-workshop-mode=jobs] .v16-inline-stage{flex-basis:190px}.v16-inline-stage select{min-height:46px;font-size:13px}.job-group>summary{border-color:#e3e8ec!important}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #5988a3;outline-offset:3px}
@media(max-width:1100px){.job-heading{grid-template-columns:1fr}.job-heading .v16-job-controls{grid-column:1;grid-row:auto;max-width:none}.v16-job-controls .v16-job-stage-wrap{max-width:none}.job-savebar{bottom:86px}.job-content{padding-bottom:180px}.v16-job-links a{flex:1;text-align:center;min-width:130px}.job-panel{padding:20px}.v17-drag-handle{min-width:36px;min-height:36px}.tiny .v17-drag-handle{min-height:18px}.cal-page[data-workshop-mode=both] .planner-job{display:flex;flex-wrap:wrap}.cal-page[data-workshop-mode=both] .planner-job-link{flex-basis:100%}}
@media(max-width:640px){.job-heading{padding:18px;gap:12px}.job-fields{grid-template-columns:1fr}.v17-save-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.v17-save-actions #saveJob{grid-column:1/-1}.job-savebar{flex-direction:column;align-items:stretch;bottom:80px}.job-savebar #saveState{max-width:100%;font-size:12px}.job-content{padding-bottom:250px}.cal-page[data-workshop-mode=jobs] .planner-job{display:grid;grid-template-columns:1fr auto}.cal-page[data-workshop-mode=jobs] .planner-job-link{grid-column:1/-1}.cal-page[data-workshop-mode=jobs] .v16-inline-stage{width:100%}.planner-job-work{max-width:75vw}.job-heading .v16-job-stage-wrap{min-width:0}.v17-calendar-help{padding:4px 10px}}
.job-panel input[type=checkbox]{min-height:20px;width:20px;height:20px;flex:none}.mechanic-check{min-height:44px}.v17-edit-job:disabled,.v17-dialog-actions button:disabled{opacity:.55;cursor:wait}
@media print{.v17-save-actions,.v17-tools{display:none!important}}
