/* Job intake: compact essentials, progressive optional detail. */
dialog:has(#job-form){width:min(720px,calc(100% - 32px))}
.job-form{--jf-gap:16px;min-width:0}
.job-form [hidden]{display:none!important}
.job-form .jf-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.job-form .jf-intro p{font-size:14px;line-height:1.6;margin:0;max-width:340px}
.job-form .jf-voice{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--panel2);color:var(--accent);border:1px solid var(--border);border-radius:8px;padding:10px 12px;min-height:44px;white-space:nowrap;font-size:13px;font-weight:750}
.job-form .jf-review{display:flex;align-items:flex-start;gap:10px;color:var(--green);background:var(--panel2);border-left:3px solid var(--green);padding:12px 14px;border-radius:0 7px 7px 0;font-size:13px;line-height:1.5;margin-bottom:20px}
.job-form .jf-review .icon{margin-top:2px;flex:none}
.job-form .jf-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--jf-gap)}
.job-form .jf-wide{grid-column:1/-1}
.job-form .jf-field{min-width:0}
.job-form .jf-field label{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:0 0 7px;font-size:13px;font-weight:750;line-height:1.4}
.job-form .jf-required{color:var(--muted);font-size:11px;font-weight:500}
.job-form input,.job-form select,.job-form textarea{min-width:0;min-height:46px;font-size:16px;line-height:1.45;border-radius:8px;padding:11px 12px;scroll-margin-block:90px}
.job-form input::placeholder,.job-form textarea::placeholder{color:var(--muted);opacity:.76}
.job-form textarea{min-height:88px}
.job-form #job-name{font-size:19px;letter-spacing:-.3px;padding:13px 14px}
.job-form .jf-hint{display:block;font-size:12px;font-weight:400;line-height:1.6;color:var(--muted);margin:6px 0 0}
.job-form .jf-new-customer{padding:18px;background:var(--panel2);border-radius:9px;border:1px solid var(--border)}
.job-form .jf-inline-heading{margin-bottom:16px;display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.job-form .jf-inline-heading strong{font-size:14px}
.job-form .jf-inline-heading>span{font-size:12px;color:var(--muted)}
.job-form .jf-detail-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:29px 0 13px}
.job-form .jf-detail-heading h3{margin:0;font-size:14px;letter-spacing:0;font-weight:700}
.job-form .jf-detail-heading>span{font-size:11px;color:var(--muted);white-space:nowrap}
.job-form .jf-section{border-top:1px solid var(--border)}
.job-form .jf-section:last-of-type{border-bottom:1px solid var(--border)}
.job-form .jf-section>summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;min-height:78px;padding:16px 0;scroll-margin-block:90px;touch-action:manipulation}
.job-form .jf-section>summary::-webkit-details-marker{display:none}
.job-form .jf-section>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:5px}
.job-form .jf-section-copy{flex:1;min-width:0}
.job-form .jf-section-copy strong{display:block;font-size:14px;font-weight:750;line-height:1.5}
.job-form .jf-section-copy small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:3px}
.job-form .jf-section-meta{font-size:11px;color:var(--muted);white-space:nowrap}
.job-form .jf-section>summary>.icon{color:var(--muted);transition:transform .16s ease}
.job-form .jf-section[open]>summary>.icon{transform:rotate(90deg);color:var(--accent)}
.job-form .jf-section[open]>summary .jf-section-copy strong{color:var(--accent)}
.job-form .jf-section-body{padding:3px 0 22px}
.job-form .jf-group-note{margin:0;color:var(--muted);font-size:13px;line-height:1.65}
.job-form .jf-coordinate-label{display:flex;align-items:center;gap:9px;padding-top:10px;border-top:1px solid var(--border);color:var(--green);font-size:13px;font-weight:650}
.job-form .jf-coordinate-label small{font-weight:400;margin-left:7px;font-size:11px;color:var(--muted)}
.job-form .jf-number-confirmation{padding:12px;border:1px solid var(--accent);border-radius:7px}
.job-form .jf-number-confirmation label{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:13px;line-height:1.6}
.job-form .jf-number-confirmation input{width:18px;min-height:18px;height:18px;flex:none;margin-top:2px;padding:0;accent-color:var(--accent)}
.job-form .jf-upload{padding:14px;border:1px dashed var(--border);border-radius:8px;background:var(--bg)}
.job-form .jf-upload input{font-size:13px;padding:9px 0;border:0;min-height:44px}
.job-form .jf-upload input::file-selector-button{font:inherit;font-weight:650;border:1px solid var(--border);padding:8px 11px;margin-right:10px;border-radius:6px;background:var(--panel2);color:var(--text);cursor:pointer}
.job-form .jf-save-note{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.6;margin:18px 0 0;color:var(--muted)}
.job-form .jf-save-note .icon{margin-top:2px;flex:none}
@media(max-width:800px){dialog:has(#job-form){width:100%;max-width:100%}.job-form .jf-intro{margin-bottom:20px}.job-form .jf-section>summary{min-height:76px}}
@media(max-width:540px){.job-form{--jf-gap:15px}.job-form .jf-grid{grid-template-columns:minmax(0,1fr)}.job-form .jf-new-customer{padding:15px}.job-form .jf-inline-heading{display:block}.job-form .jf-inline-heading>span{display:block;margin-top:3px}.job-form .jf-section-meta{display:none}.job-form .jf-detail-heading>span{display:none}.job-form .jf-intro{gap:12px}.job-form .jf-intro p{font-size:13px}.job-form .jf-voice{padding:9px 11px}.job-form .jf-section-copy small{font-size:11px}.job-form .jf-coordinate-label small{display:block;margin:2px 0 0}}
@media(prefers-reduced-motion:reduce){.job-form .jf-section>summary>.icon{transition:none}}
