
#hc-preview{--paper:light-dark(#fff,#202929);--wash:light-dark(#f3f6f4,#162020);--ink:light-dark(#203d37,#e5eee9);--soft:light-dark(#60736c,#a5bbb0);--line:light-dark(#dce5df,#394b43);--brand:light-dark(#215c48,#9ed4b7);--onbrand:light-dark(#fff,#123326);font:17px/1.55 'Segoe UI',sans-serif;color:var(--ink);background:var(--wash);border-radius:16px;overflow:hidden;border:1px solid var(--line)}
#hc-preview *{box-sizing:border-box}#hc-preview button,#hc-preview input,#hc-preview textarea,#hc-preview select{font:inherit}#hc-preview button{cursor:pointer;min-height:48px;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;padding:9px 15px}#hc-preview button:hover{background:var(--wash)}#hc-preview .primary{background:var(--brand);color:var(--onbrand);border-color:var(--brand)}#hc-preview header{background:var(--paper);padding:20px 26px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}#hc-preview .brand{display:flex;align-items:center;gap:12px}#hc-preview .monogram{display:grid;place-items:center;background:var(--brand);color:var(--onbrand);width:42px;height:42px;border-radius:12px;font-weight:600}#hc-preview .muted{color:var(--soft);font-size:15px}#hc-preview h1{font-size:25px;margin:0;font-weight:600}#hc-preview h2{font-size:21px;margin:0;font-weight:600}#hc-preview h3{font-size:18px;margin:0;font-weight:600}#hc-preview p{margin:5px 0 16px}#hc-preview .top{padding:26px 26px 20px;display:flex;justify-content:space-between;gap:15px;align-items:center}#hc-preview .layout{display:grid;grid-template-columns:270px 1fr;gap:20px;padding:0 26px 26px}#hc-preview aside,#hc-preview article{background:var(--paper);border:1px solid var(--line);border-radius:12px;min-width:0}#hc-preview aside{padding:16px}#hc-preview input,#hc-preview textarea,#hc-preview select{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 11px;background:var(--paper);color:var(--ink);min-height:48px;font-size:18px}#hc-preview input:focus,#hc-preview textarea:focus{outline:2px solid var(--brand);outline-offset:2px}#hc-preview label{display:block;font-size:15px;color:var(--soft)}#hc-preview .list{margin-top:14px;display:grid;gap:7px}#hc-preview .person{text-align:left;width:100%;border-color:transparent;padding:12px}#hc-preview .person[aria-pressed=true]{background:var(--wash);border-color:var(--brand)}#hc-preview .person span{display:block}#hc-preview article{padding:24px}#hc-preview .heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}#hc-preview .tag{font-size:14px;color:var(--soft);background:var(--wash);padding:4px 9px;border-radius:20px;white-space:nowrap}#hc-preview .contact{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0;padding-bottom:22px;border-bottom:1px solid var(--line)}#hc-preview .contact div{overflow-wrap:anywhere}#hc-preview .label{display:block;color:var(--soft);font-size:14px;margin-bottom:4px}#hc-preview .vehicle{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:14px;align-items:center;justify-content:space-between}#hc-preview .plate{display:inline-block;background:light-dark(#f7dc6a,#dfc45c);color:#242a25;border:1px solid #b7a459;border-radius:5px;padding:4px 10px;font-weight:650;letter-spacing:1px;margin-bottom:7px}#hc-preview .notes{margin-top:23px;background:var(--wash);border-radius:8px;padding:15px}#hc-preview .actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}#hc-preview .formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:20px}#hc-preview .full{grid-column:1/-1}#hc-preview textarea{min-height:90px;resize:vertical}#hc-preview .back{border:0;padding:0;background:none;margin-bottom:14px;color:var(--brand)}#hc-preview #hc-status{padding:0 26px 18px;color:var(--brand);min-height:22px}#hc-preview .empty{padding:25px 0;color:var(--soft)}#hc-preview .small{font-size:15px}#hc-preview .count{font-size:15px;color:var(--soft);margin:10px 0 0}

.hc-preview-stage{container-type:inline-size;width:100%;}
#hc-preview .job-identity{display:grid;gap:2px;margin:18px 0;overflow-wrap:anywhere}
#hc-preview .job-estimate{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;padding:16px;background:var(--wash);border-radius:8px;margin-bottom:20px}
#hc-preview .job-estimate small{display:block;color:var(--soft);font-size:14px}
#hc-preview .job-estimate strong{font-size:25px;white-space:nowrap;min-width:0}
#hc-preview .job-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0 24px}
#hc-preview .job-nav button{padding:10px 8px}
#hc-preview .job-nav button[aria-pressed=true]{color:var(--onbrand);background:var(--brand);border-color:var(--brand)}
#hc-preview .job-line{border:1px solid var(--line);border-radius:8px;padding:16px;margin:20px 0;min-width:0}
#hc-preview .job-line legend{font-size:16px;color:var(--soft);padding:0 6px}
#hc-preview .job-line .formgrid{margin-top:0}
#hc-preview .line-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:18px}
#hc-preview .job-totals{margin:24px 0 16px;border-top:1px solid var(--line);padding-top:12px}
#hc-preview .job-totals>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0}
#hc-preview .job-totals dd{margin:0;font-variant-numeric:tabular-nums}
#hc-preview .job-totals>div:last-child{font-weight:600;border-top:1px solid var(--line)}
#hc-preview .job-save{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:22px;margin-top:24px;border-top:1px solid var(--line)}
#hc-preview .job-hint{margin-top:18px}
#hc-preview .job-file-area{margin-top:24px}
#hc-preview .job-file-area h3{margin-top:20px}
#hc-preview #hc-job-feedback{margin-top:14px;color:var(--brand)}
#hc-preview section[hidden]{display:none}
#hc-preview .job-leave[hidden]{display:none}
#hc-preview .job-leave{margin:0 0 18px}
#hc-preview input[type=date],#hc-preview input[type=time]{min-width:0;max-width:100%}
#hc-preview .mobile-back{display:none}
#hc-preview button{overflow-wrap:anywhere}
#hc-preview .heading>div{min-width:0;overflow-wrap:anywhere}
#hc-preview .contact.vehicle-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:18px 0;padding-bottom:16px}
@container (max-width:650px){
 #hc-preview{border-radius:12px;font-size:18px}
 #hc-preview header{padding:16px;align-items:flex-start;flex-wrap:wrap}
 #hc-preview header .tag{font-size:13px}
 #hc-preview .top{padding:18px 16px;flex-wrap:wrap}
 #hc-preview .top p{display:none}
 #hc-preview h1{font-size:25px}#hc-preview h2{font-size:24px}#hc-preview h3{font-size:19px}
 #hc-preview .layout{display:block;padding:0 12px 16px}
 #hc-preview aside,#hc-preview article{padding:18px}
 #hc-preview .list{grid-template-columns:1fr;gap:12px}
 #hc-preview .person{padding:16px}
 #hc-preview .formgrid,#hc-preview .contact{grid-template-columns:1fr;gap:18px}
 #hc-preview .vehicle{display:block;padding:22px 0}
 #hc-preview .vehicle button{margin-top:14px;width:100%;text-align:center}
 #hc-preview .heading{flex-wrap:wrap;gap:14px}
 #hc-preview .label,#hc-preview label{font-size:16px}
 #hc-preview .muted,#hc-preview .small,#hc-preview .count{font-size:16px}
 #hc-preview input,#hc-preview select,#hc-preview textarea{font-size:18px;padding:13px}
 #hc-preview .actions button{flex:1;min-width:110px}
 #hc-preview[data-screen="list"] article{display:none}
 #hc-preview[data-screen="detail"] aside,#hc-preview[data-screen="detail"] .top{display:none}
 #hc-preview[data-screen="detail"] .layout{padding-top:16px}
 #hc-preview .mobile-back{display:block;margin-bottom:18px}
 #hc-preview #hc-status{padding:0 18px 16px}
}
