/* Reuse the authored painted workshop board, paper order and red buttons. */
#job-panel{position:fixed;inset:0;z-index:96;display:grid;place-items:center;padding:20px;background:#07131be8;overflow:auto;overscroll-behavior:contain}
#job-panel[hidden]{display:none}
.job-card{position:relative;width:min(1120px,calc((100dvh - 40px)*1.5),calc(100vw - 40px));aspect-ratio:3/2;background:url('./assets/workshop-menu-v2.png') center/100% 100% no-repeat;color:#e2dec2;filter:drop-shadow(0 14px 30px #0008)}
.job-heading{position:absolute;left:4%;top:20.5%;width:53%}.job-heading .eyebrow{font-size:8px;color:#d5b879;letter-spacing:1.5px}.job-heading h2{font:800 clamp(24px,3vw,39px)/1 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;margin:9px 0 6px}.job-heading p{font:8px 'IBM Plex Mono',monospace;color:#c2c8b0}.job-heading>button{position:absolute;right:-74%;top:0;width:34px;height:34px;border:0;background:url('./assets/painted-button.png') center/100% 145%;color:#f8e8c3;font-size:23px}
#job-tabs{position:absolute;left:4%;top:34%;width:54%;display:flex;gap:5px}#job-tabs button{border:0;background:transparent;color:#c6cfbb;font:700 13px 'Barlow Condensed',sans-serif;padding:10px 12px}#job-tabs button[aria-pressed=true]{background:url('./assets/painted-button.png') center/100% 145%;color:#fff0cf}
.job-stock{position:absolute;left:4%;top:42%;width:53%;height:39%;display:flex;flex-direction:column;min-height:0}#job-status{font:9px/1.6 'IBM Plex Mono',monospace;color:#d8c893;margin:0 0 12px;min-height:30px}#job-list{overflow:auto;min-height:0;flex:1;display:flex;flex-direction:column;gap:6px;scrollbar-width:thin;scrollbar-color:#91a18b transparent}#job-list p{font:10px/1.8 'IBM Plex Mono',monospace;margin:0 0 10px;color:#c5ccb9}#job-list button{border:1px solid #b6b38433;padding:11px 12px;background:#10252e70;color:#e3dfc0;text-align:left;font:600 15px 'Barlow Condensed',sans-serif;min-height:38px}#job-list button[aria-pressed=true]{border-color:#d5bc79;background:#d7d7b322}#job-list .job-paint::before{content:'';display:inline-block;width:24px;height:14px;margin-right:10px;vertical-align:middle;background:var(--swatch);border:1px solid #e6dcc366}
.job-detail{position:absolute;left:65%;top:22%;width:30%;height:59%;overflow:auto;scrollbar-width:thin;color:#3a5043}.job-detail .eyebrow{font-size:7px;letter-spacing:1px;color:#8a6844}.job-detail h3{font:800 29px/1.05 'Barlow Condensed',Impact,sans-serif;margin:10px 0;text-transform:uppercase}#job-preview{width:100%;height:150px;object-fit:contain}#job-description{font:10px/1.8 'IBM Plex Mono',monospace;margin:8px 0 18px;color:#596850}#job-price{font:700 24px 'Barlow Condensed',sans-serif;color:#805537}
.job-travel{display:flex;gap:7px;flex-shrink:0;margin-top:12px}.job-travel button,#job-actions button{min-height:38px;padding:9px 14px;border:0;background:url('./assets/painted-button.png') center/100% 145% no-repeat;color:#f3e6c0;font:700 13px 'Barlow Condensed',sans-serif;letter-spacing:.4px;text-shadow:0 1px 2px #4b2115}#job-panel button:disabled{opacity:.45;cursor:default}#job-panel button:hover:not(:disabled){filter:brightness(1.17)}#job-panel button:focus-visible{outline:2px solid #e9c76a;outline-offset:3px}
.job-footer{position:absolute;left:5%;right:5%;top:84%;height:12%}#job-actions{display:flex;gap:6px;flex-wrap:wrap}#job-feedback{font:9px/1.6 'IBM Plex Mono',monospace;margin:7px 0 0;color:#e4d4aa}#job-feedback[data-state=error]{color:#ffb398}
@media(max-width:700px){
 #job-panel{padding:8px;align-items:start}.job-card{width:100%;height:calc(100dvh - 16px);aspect-ratio:auto;display:flex;flex-direction:column;padding:110px 20px 20px;background-size:165% auto;background-position:left top;min-height:0}
 .job-heading{position:static;width:auto;flex-shrink:0;padding-right:34px}.job-heading h2{font-size:28px}.job-heading>button{right:17px;top:107px}.job-heading .eyebrow{font-size:6px}.job-heading p{font-size:7px}
 #job-tabs{position:static;width:auto;flex-shrink:0;margin:8px 0 12px;gap:2px}#job-tabs button{font-size:10px;padding:10px 8px;flex:1}
 .job-stock{position:static;width:auto;height:180px;min-height:120px;flex-shrink:1}.job-stock #job-status{font-size:8px;min-height:0;margin-bottom:8px}#job-list p{font-size:8px}#job-list button{font-size:14px;padding:8px}.job-travel{margin:8px 0}.job-travel button{font-size:11px;min-height:34px;padding:8px 10px}
 .job-detail{position:static;width:auto;height:auto;flex:1;min-height:110px;padding:18px 20px;margin:12px -8px 6px;background:url('./assets/workshop-menu-v2.png') right bottom/265% 124% no-repeat}.job-detail h3{font-size:25px;margin:7px 0}#job-preview{height:100px}#job-description{font-size:8px;line-height:1.7;margin-bottom:10px}#job-price{font-size:21px}
 .job-footer{position:static;height:auto;flex-shrink:0;min-height:38px;margin-top:10px}#job-actions{gap:5px}#job-actions button{font-size:11px;min-height:34px;padding:8px 10px}#job-feedback{font-size:7px;line-height:1.7;margin-top:7px}
}
@media(max-height:650px) and (min-width:701px){.job-heading h2{font-size:25px}.job-heading .eyebrow,.job-heading p{font-size:6px}#job-tabs button{font-size:10px;padding:6px}#job-status,#job-list p,#job-description{font-size:7px}#job-preview{height:80px}.job-detail h3{font-size:22px}#job-price{font-size:18px}.job-travel button,#job-actions button{font-size:10px;min-height:27px;padding:6px 9px}#job-feedback{font-size:6px}#job-list button{font-size:12px;padding:7px;min-height:28px}}

/* Keep compact screens legible without putting copy over the illustrated border. */
@media(max-width:700px){.job-detail{background-size:265% 140%;padding:18px 20px 26px}#job-description{font-size:9px}#job-list p{font-size:9px}.job-heading{line-height:1.2}#job-status{line-height:1.7}}
@media(max-height:650px) and (min-width:701px){.job-heading{top:21%;line-height:1}.job-heading .eyebrow{display:block;font-size:5px}.job-heading h2{font-size:20px;line-height:1;margin:5px 0}.job-heading p{font-size:5px;margin:4px 0}#job-tabs{top:35%}.job-stock{top:44%;height:37%}.job-detail h3{font-size:19px;margin:5px 0}#job-preview{height:62px}#job-description{font-size:7px;line-height:1.6;margin:6px 0 9px}#job-price{font-size:17px}}
/* Business departments share the same painted navigation rail. */
#job-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}#job-tabs button{min-width:0;padding:9px 4px;line-height:1.15}
@media(max-width:700px){#job-tabs button{font-size:10px;padding:8px 3px}}
@media(max-height:650px) and (min-width:701px){#job-tabs button{font-size:9px;padding:6px 2px}.job-stock{top:46%;height:35%}}

#job-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:700px){#job-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}#job-tabs button{font-size:10px;padding:6px 3px}}

@media(max-width:700px){#job-preview{height:72px}#job-description{line-height:1.55}.job-detail{padding-bottom:48px}}

#job-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
#job-panel{z-index:98}
#job-close{z-index:3}
#job-tracker{position:fixed;z-index:20;top:210px;left:24px;width:265px;padding:20px 24px 28px;border:0;text-align:left;background:url('./assets/workshop-menu-v2.png') right bottom/280% 155% no-repeat;color:#364f42;filter:drop-shadow(0 4px 8px #0006);cursor:pointer}
#job-tracker[hidden]{display:none}#job-tracker strong{display:block;font:800 22px/1.05 'Barlow Condensed',sans-serif;text-transform:uppercase}#job-tracker span{display:block;font:10px/1.5 'IBM Plex Mono',monospace;margin-top:8px}#job-tracker small{font:700 11px 'Barlow Condensed',sans-serif;color:#8a4c2c}
@media(max-width:700px){#job-tracker{top:170px;left:8px;width:200px;padding:14px 17px 24px}#job-tracker strong{font-size:18px}#job-tracker span{font-size:8px}#job-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:650px){#job-tracker{top:150px;width:200px;padding:12px 17px 22px}#job-tracker strong{font-size:16px}#job-tracker span{font-size:8px}}

/* Keep all five work/crime tabs within the existing board. */
#job-tabs button{padding-inline:7px;font-size:12px}
