/* V14: neutral borders, clearer job actions, compact workshop record views */
@media screen {
  *,*::before,*::after {border-color:#e1e5e9!important}
  :focus-visible {outline-color:#526372!important}
  :is(input,textarea,select):focus {border-color:#7b858f!important}
  .primary,.btn.primary,.job-actions .primary,.booking-dialog-actions .primary {border-color:transparent!important}
}
.job-content{max-width:1210px}
.job-tool-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 18px}
.job-tool-row>.job-actions{margin:0}
.job-tool-row .job-actions a,.job-tool-row .job-actions button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:normal;text-align:center;background:#fff;color:#334b5c;border:1px solid #dce1e5;border-radius:8px;padding:10px 13px;font-size:12px;font-weight:750;cursor:pointer}
.job-tool-row .job-actions .primary{background:#087eaa;color:#fff;padding:12px 18px}
.job-tools{margin-left:auto}
.job-tools :is(a,button){background:#f9fafb!important}
.job-tools :is(a,button):hover{background:#f1f3f5!important}
.job-tool-row button:disabled{opacity:.5;cursor:not-allowed}
.job-overview{margin:0 0 16px;padding:22px}
.overview-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}
.job-overview .overview-header h2{margin:0;font-size:17px}
.overview-status{background:#edf0f3;color:#344c5c;font-size:11px;font-weight:750;border-radius:7px;padding:7px 10px}
.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 18px}
.overview-item{min-width:0;overflow-wrap:anywhere}
.overview-item small{font-size:10px;display:block;color:#73818f;margin:0 0 5px;font-weight:700}
.overview-item strong,.overview-item a{display:block;color:#273c4e;font-size:12px;line-height:1.5;font-weight:750;overflow-wrap:anywhere}
.overview-item a{text-decoration:underline;text-decoration-color:#ccd4da;text-underline-offset:2px}
.overview-work{border-top:1px solid #e1e5e9;margin-top:18px;padding-top:16px}
.overview-work strong{color:#526777;font-size:11px}
.job-overview .overview-work p{font-size:13px;color:#233b4d;line-height:1.65;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#customerPanel{margin-top:7px}
.office-details{padding:0;overflow:hidden}
.office-details>summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:19px 21px;font-size:15px;color:#273e4e;font-weight:800;list-style:none}
.office-details>summary::-webkit-details-marker{display:none}
.office-details>summary:before{content:'+';display:grid;place-items:center;width:24px;height:24px;background:#f1f3f5;color:#536271;border-radius:6px;font-size:18px;line-height:1}
.office-details[open]>summary:before{content:'−'}
.office-details>summary span{font-size:11px;color:#7a8894;font-weight:600}
.office-details[open]>summary{margin:0;border-bottom:1px solid #e2e5e8}
.office-details>.job-columns{padding:20px;gap:16px}
.office-inner{padding:14px 0;border-bottom:1px solid #e8e9eb;margin:0 0 13px;background:none}
.office-inner:last-child{border-bottom:0}
.office-inner>h2{font-size:14px}
.office-inner>summary{font-size:12px}
.office-details .job-columns>div{min-width:0}
.mechanic-panel{scroll-margin-top:20px}
.ready-next{display:block;padding:20px 22px;background:#fff}
.ready-next h2{font-size:16px;margin:0 0 6px;color:#233b4b}
.ready-next .ready-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}
.ready-next .ready-step{display:flex;align-items:flex-start;gap:9px;background:#f5f6f7;border-radius:8px;padding:12px;min-width:0}
.ready-next .ready-step-no{display:grid;place-items:center;flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:#e3e7eb;color:#364b5c;font-weight:800;font-size:11px}
.ready-next .ready-step strong{font-size:12px;color:#344b5b}
.ready-next .ready-step p{font-size:11px;line-height:1.5;color:#677684;margin-top:3px}
.ready-next .ready-next-actions{margin-top:12px}
.ready-next-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px}
.job-tag,.job-print-sheet{display:none}
.created-card{max-width:760px;padding:32px;margin-top:10px}
.created-icon{display:grid;place-items:center;width:45px;height:45px;background:#eef1f3;border-radius:50%;font-size:24px;color:#253e50;margin-bottom:18px}
.created-card h2{font-size:24px;letter-spacing:-.5px;margin:4px 0 10px}
.created-card p{font-size:13px;line-height:1.6;color:#5f7180}
.created-card .created-ref{display:inline-block;font-size:16px;font-weight:800;color:#263f52;padding:10px 13px;background:#f0f2f4;border-radius:8px;margin:9px 0 20px}
.created-actions{display:flex;flex-wrap:wrap;gap:9px}
.created-actions .btn{min-height:43px}
.created-card .created-another{margin-top:18px;display:inline-block;border:0;background:transparent;padding:6px 0;color:#3a667f;font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.created-card .created-help{font-size:11px;color:#748391;margin-top:20px}
@media(max-width:900px){.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ready-next .ready-steps{grid-template-columns:1fr}.job-tool-row{align-items:stretch}.job-tool-row>.job-actions{flex:1}.job-tools{margin-left:0}}
@media(max-width:600px){.job-overview{padding:18px}.overview-grid{gap:12px}.job-tool-row{flex-direction:column;align-items:stretch}.job-tool-row>.job-actions{width:100%}.job-tool-row .job-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px}.job-tool-row .job-tools>*{padding:9px 6px;font-size:11px;min-height:42px}.job-tool-row #jobActions>*{flex:1}.office-details>summary{padding:17px}.office-details>.job-columns{padding:16px;gap:0}.ready-next{padding:17px}.ready-next-actions{flex-direction:column}.ready-next-actions a{width:100%}.created-card{padding:22px}.created-actions{flex-direction:column}.created-actions>*{width:100%}}
@media print {
  @page{size:A4;margin:12mm}
  body{background:#fff!important}
  body .app,body .mobile-bar,body dialog{display:none!important}
  body #jobTag,body #jobPrintSheet{display:none!important}
  body[data-ts-print="tag"] #jobTag,body[data-ts-print="tag"] #jobTag *,body[data-ts-print="sheet"] #jobPrintSheet,body[data-ts-print="sheet"] #jobPrintSheet *{visibility:visible!important}
  body[data-ts-print="tag"] #jobTag{display:block!important;position:static!important;width:96mm!important;padding:5mm!important;color:#152a3b!important;font:12px/1.45 Arial,sans-serif}
  body[data-ts-print="sheet"] #jobPrintSheet{display:block!important;position:static!important;width:100%;color:#203343!important;font:10px/1.4 Arial,sans-serif}
  .tag-brand,.sheet-head{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:2px solid #333!important;padding-bottom:10px;margin-bottom:17px}
  .tag-brand strong,.sheet-head strong{font-size:20px;letter-spacing:1px}
  .tag-brand small{font-size:9px;color:#444}
  .tag-ref{font-size:29px;font-weight:800;letter-spacing:.2px;margin:10px 0}
  .tag-customer{font-size:18px;font-weight:750;margin:9px 0 3px}
  .tag-bike{font-size:15px;margin-bottom:15px}
  .tag-grid,.sheet-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:12px 0;border-top:1px solid #bbb!important;border-bottom:1px solid #bbb!important}
  .doc-field small,.doc-field span{display:block;overflow-wrap:anywhere}
  .doc-field small{font-size:9px;color:#4f5963;margin-bottom:4px;font-weight:700;text-transform:uppercase}
  .doc-field span{font-size:11px;font-weight:700;white-space:pre-wrap}
  .tag-task{margin-top:20px;padding-top:10px;border-top:1px solid #bbb!important;page-break-inside:avoid}
  .tag-task p{white-space:pre-line;margin:7px 0}
  .tag-foot{margin-top:24px;font-size:9px;color:#555}
  .sheet-head p,.sheet-ref small{font-size:9px;margin:2px 0;color:#555;display:block}
  .sheet-ref{text-align:right}
  .sheet-head .sheet-ref strong{font-size:14px}
  .job-print-sheet h1{font-size:22px;margin:15px 0}
  .sheet-fields{grid-template-columns:repeat(3,minmax(0,1fr));border:0!important;gap:10px 14px}
  .sheet-section{margin-top:14px;break-inside:auto}
  .sheet-section h2{font-size:13px;border-bottom:1px solid #bbb!important;padding-bottom:6px;margin-bottom:7px;break-after:avoid}
  .sheet-entry{padding:5px 0;break-inside:avoid}
  .sheet-entry strong{font-size:10px}
  .sheet-entry p{white-space:pre-line;font-size:10px;margin:3px 0;overflow-wrap:anywhere}
  .sheet-foot{margin-top:15px;border-top:1px solid #bbb!important;padding-top:8px;font-size:9px;color:#555}
  .sheet-foot p{margin:4px 0}
}
