/* #3196: the job kit (ui-jobs.js), on the app's theme tokens */
.jb{display:flex;flex-direction:column;gap:14px;color:var(--text)}.jb.busy{opacity:.65;pointer-events:none}
.jb-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.jb-h{display:flex;align-items:baseline;gap:10px}.jb-h b{font-size:22px;letter-spacing:-.02em}.jb-h span{color:var(--muted);font-size:14px}
.jb-cols{display:flex;gap:12px;align-items:flex-start;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px}
.jb-col{flex:1 0 236px;max-width:88vw;min-width:0;display:flex;flex-direction:column;gap:10px;padding:10px;border-radius:var(--radius);background:color-mix(in srgb,var(--text) 5%,var(--bg));scroll-snap-align:start}
.jb-colh{display:flex;justify-content:space-between;align-items:center;padding:2px 4px;font-size:14px}.jb-colh b{font-weight:700}.jb-colh span{color:var(--muted);font-weight:600}
.jb-cards{display:flex;flex-direction:column;gap:10px}.jb-none{padding:18px 8px;text-align:center;color:var(--muted);font-size:13.5px}
.jb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
@media (max-width:760px){.jb-col{flex-basis:292px}}
.jb-t{position:relative;display:flex;flex-direction:column;gap:8px;padding:12px 13px 13px;background:var(--surface);border:1px solid var(--text);border-radius:calc(var(--radius) - 2px);min-width:0}
.jb-t header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px dashed color-mix(in srgb,var(--text) 35%,transparent)}
.jb-no{font-size:12px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.jb-stamp{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:3px 7px;border:2px solid currentColor;border-radius:3px;color:var(--primary);transform:rotate(-2deg);white-space:nowrap}
.jb-stamp[data-st=Countered]{color:var(--muted)}.jb-stamp[data-st=Scheduled],.jb-stamp[data-st=Accepted],.jb-stamp[data-st=Completed],.jb-stamp[data-st=Paid]{color:var(--text)}
.jb-stamp[data-st=Declined],.jb-stamp[data-st=Cancelled],.jb-stamp[data-st=Expired]{color:var(--muted);transform:rotate(1deg)}
.jb-t.moved .jb-stamp{animation:jbStamp .32s cubic-bezier(.2,1.4,.4,1)}@keyframes jbStamp{0%{transform:scale(1.9) rotate(-9deg);opacity:0}100%{transform:scale(1) rotate(-2deg);opacity:1}}
@media (prefers-reduced-motion:reduce){.jb-t.moved .jb-stamp{animation:none}}
.jb-t h4{margin:0;font-size:17px;line-height:1.25;letter-spacing:-.01em;overflow-wrap:anywhere}.jb-what{margin:-4px 0 0;color:var(--muted);font-size:13.5px}
.jb-t dl{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:0;font-size:13.5px}.jb-t dt{color:var(--muted)}.jb-t dd{margin:0;overflow-wrap:anywhere}
.jb-desc{margin:0;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.jb-pics{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.jb-pics img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}
.jb-money{display:flex;gap:18px;align-items:flex-end}.jb-money small{display:block;color:var(--muted);font-size:12px}.jb-money b{font-size:23px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.jb-money b.f{font-size:16px;font-weight:600;color:var(--muted)}.jb-money b.c{color:var(--primary)}
.jb-more{align-self:flex-start;background:none;border:0;padding:6px 0;min-height:32px;color:var(--text);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
.jb-acts{display:flex;flex-wrap:wrap;gap:6px}
.jb-go,.jb-ghost{min-height:40px;padding:0 13px;border-radius:calc(var(--radius) - 3px);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.jb-go{flex:1 1 auto;background:var(--primary);color:var(--jb-on,var(--on-primary,#fff));border:1px solid var(--primary)}.jb-ghost{background:transparent;color:var(--text);border:1px solid color-mix(in srgb,var(--text) 40%,transparent)}
.jb-go:focus-visible,.jb-ghost:focus-visible,.jb-more:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.jb-pan{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px dashed color-mix(in srgb,var(--text) 35%,transparent);font-size:14px}.jb-pan small{color:var(--muted)}
.jb-pan label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}.jb-pan input,.jb-pan textarea{width:100%;box-sizing:border-box;min-height:42px;padding:9px 10px;font:inherit;font-size:16px;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:calc(var(--radius) - 3px)}
/* r2jobreq (#3196): jobrequest, the customer's request page, on the app's theme tokens */
.jr{display:flex;flex-direction:column;gap:16px;color:var(--text);max-width:760px;width:100%}
.jr-h{display:flex;flex-direction:column;gap:4px}.jr-h b{font-size:22px;letter-spacing:-.02em}.jr-h span{color:var(--muted);font-size:15px;line-height:1.4}
.jr-step{display:flex;flex-direction:column;gap:12px;padding:16px;background:var(--surface);border:1px solid var(--text);border-radius:calc(var(--radius) - 2px)}
.jr-step h4{display:flex;align-items:center;gap:10px;margin:0;font-size:17px;letter-spacing:-.01em}.jr-step h4 i{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--text);color:var(--surface);font-style:normal;font-size:13px;font-weight:800;flex:none}
.jr-cats{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}.jr-cats button{flex:none;min-height:36px;padding:0 13px;border-radius:999px;border:1px solid color-mix(in srgb,var(--text) 40%,transparent);background:transparent;color:var(--text);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.jr-cats button[aria-pressed=true]{background:var(--text);color:var(--surface);border-color:var(--text)}
.jr-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}
.jr-type{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:calc(var(--radius) - 3px);background:var(--bg);min-width:0}
.jr-type.on{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}
.jr-tbtn{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:11px 12px;background:none;border:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;min-height:56px}
.jr-tbtn b{font-size:15px;line-height:1.25}.jr-tbtn small{color:var(--muted);font-size:13px;line-height:1.35}.jr-tp{font-size:13.5px;font-weight:700}.jr-tp em{font-style:normal;font-weight:500;color:var(--muted)}
.jr-qty{display:flex;align-items:center;gap:10px;padding:0 12px 10px}.jr-qty button{width:36px;height:36px;border-radius:50%;border:1px solid var(--text);background:transparent;color:var(--text);font:inherit;font-size:18px;font-weight:700;cursor:pointer}.jr-qty span{min-width:22px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.jr-sum{display:flex;flex-wrap:wrap;gap:6px 24px;align-items:flex-end;padding:14px 16px;border-radius:calc(var(--radius) - 2px);background:var(--text);color:var(--surface)}
.jr-sum small{display:block;font-size:12px;opacity:.8}.jr-sum b{font-size:24px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--primary)}.jr-sum b.r{font-size:17px;color:inherit}.jr-sum p{flex-basis:100%;margin:0;font-size:13.5px;opacity:.9}
.jr label{display:flex;flex-direction:column;gap:5px;font-size:13.5px;color:var(--muted);font-weight:600}
.jr input,.jr textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;font:inherit;font-size:16px;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:calc(var(--radius) - 3px)}
.jr input:focus-visible,.jr textarea:focus-visible,.jr-tbtn:focus-visible,.jr-cats button:focus-visible,.jr-qty button:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.jr-ph{display:flex;flex-wrap:wrap;gap:8px}.jr-ph>span{position:relative;width:76px;height:76px;border-radius:6px;overflow:hidden;background:var(--bg);border:1px solid var(--border)}.jr-ph img{width:100%;height:100%;object-fit:cover}
.jr-ph .jr-pdf{display:grid;place-items:center;font-weight:800;font-size:13px}.jr-ph span button{position:absolute;top:3px;right:3px;width:24px;height:24px;border-radius:50%;border:0;background:var(--text);color:var(--surface);font-size:12px;cursor:pointer}
.jr label.jr-add{width:76px;height:76px;flex-direction:row;align-items:center;justify-content:center;border:1px dashed var(--text);border-radius:6px;color:var(--text);font-size:13px;cursor:pointer;text-align:center}.jr-add input{position:absolute;width:1px;height:1px;opacity:0}
.jr-note{color:var(--muted);font-size:12.5px;margin-top:-6px}
.jr-offer{display:flex;align-items:center;gap:6px}.jr-offer span{font-size:22px;font-weight:800;color:var(--text)}.jr-offer input{font-size:22px;font-weight:700;max-width:220px}
.jr-low,.jr-err{margin:0;font-size:14px;font-weight:600;color:#b42318}.jr-send{align-self:stretch;min-height:48px;font-size:16px}.jr-send[disabled]{opacity:.5;cursor:not-allowed}
.jr-done{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;background:var(--surface);border:1px solid var(--text);border-radius:calc(var(--radius) - 2px)}.jr-done h3{margin:0;font-size:21px}.jr-done p{margin:0;color:var(--muted);line-height:1.45}
/* r3myjobs (#3196): myjobs, the customer's own requests and the job page */
.mj{display:flex;flex-direction:column;gap:12px;color:var(--text);max-width:760px;width:100%}.mj.busy{opacity:.65;pointer-events:none}
.mj-list{display:flex;flex-direction:column;gap:10px}
.mj-card{display:flex;flex-direction:column;gap:6px;width:100%;text-align:left;padding:14px 16px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer}
.mj-card:hover{border-color:color-mix(in srgb,var(--primary) 55%,var(--border))}.mj-card:focus-visible,.mj input:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.mj-ct{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mj-ct b{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.mj-card small{color:var(--muted);font-size:13px}
.mj-cm{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--muted)}.mj-cm em{font-style:normal}.mj-cm .mj-hot{color:var(--text);font-weight:700}
.mj-page{display:flex;flex-direction:column;gap:14px;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}
.mj-back{align-self:flex-start}
.mj-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mj-head h3{margin:0;font-size:20px;line-height:1.25;overflow-wrap:anywhere}
.mj-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0}.mj-facts dt{font-size:12px;color:var(--muted)}.mj-facts dd{margin:2px 0 0;font-weight:700;overflow-wrap:anywhere}
.mj-lines{margin:0;font-weight:600}.mj-desc{margin:0;white-space:pre-wrap;color:var(--text);line-height:1.5}
.mj-page .jr-ph>a{position:relative;display:grid;place-items:center;width:76px;height:76px;border-radius:6px;overflow:hidden;background:var(--bg);border:1px solid var(--border);color:var(--text);font-weight:800;font-size:13px;text-decoration:none}.mj-page .jr-ph img{width:100%;height:100%;object-fit:cover}
.mj-box{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:calc(var(--radius) - 2px);background:var(--bg);border:1px solid var(--border)}.mj-box p{margin:0;color:var(--muted)}
.mj-box.hot{border:2px solid var(--primary)}.mj-box.hot b{font-size:17px}
.mj .jb-acts{display:flex;flex-wrap:wrap;gap:8px}
.mj-page .jr-offer input{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;font:inherit;font-size:22px;font-weight:700;max-width:220px;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:calc(var(--radius) - 3px)}
.mj-page .jr-offer{display:flex;align-items:center;gap:6px}.mj-page .jr-offer span{font-size:22px;font-weight:800}
.mj .jr-err{margin:0;font-size:14px;font-weight:600;color:#b42318}
.mj-hist ol{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.mj-hist li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-size:14px;padding:8px 0;border-top:1px solid var(--border)}
.mj-hist li span{min-width:44px;color:var(--muted)}.mj-hist li em{font-style:normal;font-size:12px;color:var(--muted)}.mj-hist li small{flex-basis:100%;color:var(--muted)}
/* r4scope: the AI scope check (request page: one line + two choices; board: the team's line) */
.jr-ai{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:calc(var(--radius) - 3px);border:1px solid color-mix(in srgb,#b54708 45%,transparent);background:color-mix(in srgb,#b54708 8%,var(--surface,#fff))}.jr-ai b{font-size:15px}.jr-ai span{font-size:14px;line-height:1.45}.jr-ai-b{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.jr-ai-b button{flex:1 1 180px;min-height:44px}
.jb-ai{margin:6px 0 0;font-size:13px;line-height:1.4;color:var(--text)}.jb-ai b{font-weight:700;color:#067647}.jb-ai.off b{color:#b54708}
/* r5jobpay: the card step on the request page, the pay line on the board, Paid / Pay now on the job page */
.jr-card{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:calc(var(--radius) - 3px);border:1px solid var(--border);background:var(--bg)}.jr-card b{font-size:15px}.jr-card>span,.jr-card small{font-size:14px;line-height:1.45;color:var(--muted)}.jr-card small{font-size:12px}
.jr-card .jb-ghost{align-self:flex-start;min-height:44px}.jr-card-f{min-height:44px}
.jr-agree{display:flex;flex-direction:row!important;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;color:var(--text)!important;cursor:pointer}.jr-agree input{flex:none;width:20px;height:20px;min-height:0;margin:1px 0 0;accent-color:var(--primary)}
.jb-pay.ok{color:#067647;font-weight:600}.jb-pay.due{color:#b54708;font-weight:600}
.mj-paybtn{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:44px;padding:0 20px;text-decoration:none}.mj-cardnote{margin:0;font-size:14px;color:var(--muted)}
