/* Production workspace: the existing DTF shell remains the brand frame. */
.job-board-ui { --jb-bg:#0d1318; --jb-surface:#171f25; --jb-card:#182128; --jb-border:#2c3b45; --jb-muted:#a7bac8; --jb-text:#f3f6f8; --jb-red:#f02939; --jb-cyan:#31bce7; --jb-amber:#f0b72e; --jb-green:#46d184; min-width:0; width:100%; color:var(--jb-text); }
.job-board-ui *, .job-board-ui *::before, .job-board-ui *::after { box-sizing:border-box; }
.job-board-ui button, .job-board-ui input, .job-board-ui select { font:inherit; }
.job-board-ui button { cursor:pointer; }
.job-board-ui button:disabled { cursor:default; opacity:.6; }
.job-board-ui button:focus-visible, .job-board-ui select:focus-visible, .job-board-ui input:focus-visible, .jb-board-scroll:focus-visible { outline:2px solid #69cff2; outline-offset:3px; }
.jb-icon { width:18px; height:18px; flex-shrink:0; vertical-align:middle; }
.jb-header { display:flex; align-items:center; gap:26px; padding:0 0 23px; border-bottom:1px solid #2a354080; }
.jb-heading { flex:1; min-width:180px; }
.jb-heading h2 { margin:0 0 4px; font-size:clamp(27px,2.8vw,40px); line-height:1.15; letter-spacing:-1.1px; font-weight:750; color:#f7f9fa; }
.jb-heading p { color:#bdd0de; margin:0; font-size:16px; line-height:1.5; }
.jb-stats { display:flex; gap:0; margin:0 15px 0 0; }
.jb-stat { min-width:96px; padding:0 24px; border-left:1px solid #36434e; }
.jb-stat dt { font-size:12px; line-height:1.4; color:#bfd0de; white-space:nowrap; }
.jb-stat dd { margin:4px 0 0; font-size:26px; font-weight:750; line-height:1; font-variant-numeric:tabular-nums; }
.jb-stat.is-red dd { color:#ff3e4d; }.jb-stat.is-amber dd { color:#ffc53d; }.jb-stat.is-green dd { color:#46dc81; }
.jb-new { display:flex; align-items:center; justify-content:center; gap:11px; min-width:145px; min-height:48px; padding:12px 20px; border:1px solid #ff3345; border-radius:8px; background:linear-gradient(110deg,#f12136,#d9112c); box-shadow:0 4px 20px #cb122319; color:white; font-size:14px!important; font-weight:700!important; white-space:nowrap; }
.jb-new:hover { background:#fa2e43; }.jb-new .jb-icon { width:22px; height:22px; }
.jb-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:13px; margin:18px 0 0; }
.jb-search { display:flex; align-items:center; flex:1; min-width:240px; gap:11px; height:43px; padding:0 12px; border:1px solid var(--jb-border); border-radius:8px; background:linear-gradient(120deg,#1c252c,#151d23); color:#d1e0e9; }
.jb-search input { width:100%; min-width:0; border:0; border-radius:0; background:none; box-shadow:none; padding:10px 0; outline:0; color:#f3f7f9; font-size:13px; line-height:1.4; }
.jb-search input::placeholder { color:#a2b4c3; opacity:1; }.jb-search:focus-within { border-color:#5fa7bc; box-shadow:0 0 0 2px #45b8d714; }
.jb-segment { display:flex; align-items:stretch; flex-shrink:0; padding:3px; border:1px solid var(--jb-border); border-radius:8px; background:#171f26; }
.jb-segment button { display:flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:6px; background:transparent; color:#e1ebf1; padding:8px 13px; min-height:34px; font-size:12px; line-height:1.3; white-space:nowrap; }
.jb-segment button:hover { background:#26323c; }.jb-segment button[aria-pressed=true] { background:#34414b; color:white; box-shadow:0 1px 4px #0005; }
.jb-view-switch { margin-left:auto; }.jb-view-switch button[aria-pressed=true] { background:linear-gradient(110deg,#b70d23,#860f20); box-shadow:inset 0 1px #f058641a; }
.jb-history { display:flex; align-items:center; gap:15px; }
.jb-history button { display:flex; align-items:center; gap:5px; min-height:36px; padding:4px 0; background:none; border:0; color:#83d8f0; font-size:12px; white-space:nowrap; }
.jb-history button[aria-pressed=true] { color:#fff; text-decoration:underline; text-underline-offset:5px; }
.jb-history button span { padding:1px 4px; min-width:17px; font-size:11px; color:#b4c5d2; border-radius:4px; background:#293640; text-align:center; }
.jb-history .jb-icon { width:15px; height:15px; }
.jb-context { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:10px 0 13px; color:#96adbd; font-size:11px; line-height:1.5; }
.jb-context p { margin:0; }.jb-drag-hint { flex-shrink:0; color:#859eaf; }
.jb-notice { font-size:12px; line-height:1.5; color:#95dfb6; overflow-wrap:anywhere; }.jb-notice:not(:empty) { padding:10px 13px; margin:0 0 12px; border:1px solid #326749; background:#14271e; border-radius:7px; }.jb-notice.is-error { color:#ffb9c0; border-color:#804048; background:#31191f; }
.jb-board-scroll { max-width:100%; overflow-x:auto; padding-bottom:12px; scrollbar-width:thin; scrollbar-color:#415663 #141c22; scroll-snap-type:x proximity; }
.jb-board { display:grid; grid-template-columns:repeat(5,minmax(210px,1fr)); align-items:stretch; gap:12px; position:relative; min-height:560px; }
.jb-lane { --lane-color:#99adbc; min-width:0; padding:13px 9px 10px; border:1px solid #2e3d47; background:linear-gradient(150deg,#1b262ee8,#121a20); border-radius:9px; scroll-snap-align:start; transition:border-color .15s,background .15s; }
.jb-lane[data-jb-lane=artwork], .jb-list-stage[data-stage=artwork], [data-jb-jump=artwork] { --lane-color:var(--jb-cyan); }
.jb-lane[data-jb-lane=printing], .jb-list-stage[data-stage=printing], [data-jb-jump=printing] { --lane-color:var(--jb-red); }
.jb-lane[data-jb-lane=finishing], .jb-list-stage[data-stage=finishing], [data-jb-jump=finishing] { --lane-color:var(--jb-amber); }
.jb-lane[data-jb-lane=ready], .jb-list-stage[data-stage=ready], [data-jb-jump=ready] { --lane-color:var(--jb-green); }
.jb-lane-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:1px 2px; }
.jb-lane-heading h3 { display:flex; align-items:center; gap:9px; font-size:15px; line-height:1.3; font-weight:750; margin:0; }
.jb-lane-heading i, .jb-lane-nav i { width:13px; height:13px; border-radius:50%; background:var(--lane-color,#99adbc); box-shadow:inset 0 1px #ffffff28; flex-shrink:0; }
.jb-lane-heading > span { color:#adc4d4; font-size:14px; font-variant-numeric:tabular-nums; }
.jb-lane-description { color:#b3c4d0; font-size:11px; line-height:1.55; min-height:34px; margin:9px 2px 11px; }
.jb-lane-cards { display:flex; flex-direction:column; gap:10px; min-height:calc(100% - 75px); }
.jb-job { position:relative; display:flex; flex-direction:column; min-width:0; padding:13px 11px 10px; border:1px solid #36454f; border-radius:9px; background:linear-gradient(125deg,#1e2931,#151e25); box-shadow:0 2px 5px #00000012; }
.jb-job[draggable=true] { cursor:grab; }.jb-job[draggable=true]:active { cursor:grabbing; }.jb-job:hover { border-color:#546c7b; }
.jb-job.is-rush { border-left:4px solid #f12c40; padding-left:8px; }.jb-job.is-saving { opacity:.75; }
.jb-job-heading { display:flex; flex-wrap:wrap; align-items:flex-start; gap:5px 8px; }
.jb-job-title { flex:1; min-width:90px; padding:0; background:none; border:0; color:#f6f8fa; font-size:14px!important; font-weight:750!important; line-height:1.4; text-align:left; overflow-wrap:anywhere; }
.jb-job-title:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; }.jb-job-title:disabled { opacity:1; }
.jb-priority, .jb-hold-badge { display:inline-block; border-radius:12px; padding:3px 8px; font-size:11px; line-height:1.4; font-weight:650; color:white; background:#e51731; white-space:nowrap; }
.jb-hold-badge { color:#ffcf56; background:#72542269; }
.jb-customer { color:#bccdda; font-size:12px; line-height:1.45; margin:5px 0 1px; overflow-wrap:anywhere; }
.jb-reference { display:flex; flex-wrap:wrap; align-items:center; gap:5px 12px; color:#abc2d3; font-size:12px; line-height:1.5; min-height:19px; overflow-wrap:anywhere; }
.jb-invoice { padding:0; border:0; background:none; color:#aecdde; font-size:12px!important; text-align:left; overflow-wrap:anywhere; }.jb-invoice:hover { color:#80d9f7; }.jb-invoice span { opacity:.7; }
.jb-job-work { margin-top:9px; min-width:0; }
.jb-deadline { display:inline-flex; align-items:center; gap:7px; max-width:100%; padding:4px 7px; border-radius:5px; color:#e2ecf3; background:#2d3c477d; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }.jb-deadline .jb-icon { width:16px; height:16px; }
.jb-deadline.is-today,.jb-deadline.is-overdue { color:#ff6473; background:#7b273942; font-weight:650; }.jb-deadline.is-soon { color:#ffcb45; background:#7157264d; }.jb-deadline.is-unscheduled { color:#a5b8c7; background:#24313a60; }.jb-deadline.is-complete { color:#71deaa; background:#285f4544; }
.jb-hold-reason { display:flex; gap:6px; align-items:flex-start; color:#e5c78c; font-size:11px; line-height:1.5; margin:7px 0 0; overflow-wrap:anywhere; }.jb-hold-reason .jb-icon { width:14px; height:14px; margin-top:2px; color:#eabb4d; }
.jb-progress-row { display:flex; align-items:center; gap:8px; min-height:24px; padding-top:6px; }
.jb-progress { display:block; width:67px; height:7px; background:#4b626f; border-radius:5px; overflow:hidden; box-shadow:inset 0 1px 2px #0004; }.jb-progress i { display:block; height:100%; background:linear-gradient(90deg,#39b974,#6be79d); border-radius:inherit; }
.jb-progress-count { color:#c6dbe8; font-size:12px; font-variant-numeric:tabular-nums; }.jb-no-checklist { color:#879fac; font-size:11px; }
.jb-job-footer { display:flex; align-items:center; justify-content:space-between; gap:7px; margin-top:6px; }
.jb-assignee { display:flex; align-items:center; gap:6px; min-width:0; font-size:11px; color:#cbdce7; line-height:1.4; overflow-wrap:anywhere; }.jb-assignee > span:last-child { min-width:0; }.jb-assignee.is-unassigned { color:#90a7b8; }
.jb-avatar { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,#9cabb7,#718592); color:#101a23; border:1px solid #c8d7e1; font-size:10px; font-weight:800; flex-shrink:0; }
.jb-move { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:30px; padding:5px 8px; border:1px solid #3b505e; border-radius:6px; color:#e3eff6; background:linear-gradient(#30414d,#263640); font-size:11px!important; white-space:nowrap; }.jb-move .jb-icon { width:14px; height:14px; }.jb-move:hover { background:#405967; }
.jb-move-picker { margin-top:11px; border-top:1px solid #405463; padding-top:10px; }.jb-move-picker label { display:block; font-size:11px; color:#bfd5e3; }.jb-move-picker select { width:100%; margin-top:5px; padding:8px; font-size:12px; border:1px solid #4d6675; border-radius:6px; background:#101b23; color:#fff; }.jb-move-picker > div { display:flex; gap:7px; margin-top:8px; }.jb-move-picker button { flex:1; font-size:11px; border:1px solid #53646f; border-radius:5px; padding:7px 5px; color:#f2f7fb; background:#334653; }.jb-move-picker .jb-move-apply { background:#c91e34; border-color:#e33a4d; }.jb-move-picker .jb-move-cancel { background:transparent; }
.jb-lane-empty { display:flex; flex:1; align-items:center; justify-content:center; flex-direction:column; gap:13px; min-height:170px; padding:22px 8px; border:1px dashed #435865; border-radius:7px; color:#b1c5d4; font-size:12px; line-height:1.6; text-align:center; }.jb-lane-empty > .jb-icon { width:32px; height:32px; color:#7d99ac; }.jb-lane-empty.is-short { flex:0; flex-direction:row; min-height:35px; border-color:transparent; padding:5px 0; gap:5px; font-size:11px; text-align:left; }.jb-lane-empty.is-short > .jb-icon { width:13px; height:13px; }.jb-lane-empty.is-short br { display:none; }
.jb-dragging .jb-lane { border-style:dashed; }.jb-lane.is-drop-target { border:1px solid var(--lane-color); background:linear-gradient(130deg,#2a3b46,#18252e); box-shadow:inset 0 0 0 1px var(--lane-color); }.jb-job.is-dragging { opacity:.4; }
.jb-lane-nav { display:none; gap:6px; overflow:auto; max-width:100%; padding:0 0 12px; scrollbar-width:none; }.jb-lane-nav button { display:flex; align-items:center; gap:7px; min-height:36px; padding:8px 10px; font-size:12px; white-space:nowrap; color:#c4d5e1; background:#172229; border:1px solid #324552; border-radius:7px; }.jb-lane-nav i { width:8px; height:8px; }.jb-lane-nav button[aria-pressed=true] { color:#fff; background:#2c3c47; border-color:#7695a8; }.jb-lane-nav button span { color:#a8c0d0; font-size:11px; }.jb-lane-nav[hidden] { display:none; }
.jb-no-results { padding:26px 20px; margin-bottom:14px; text-align:center; border:1px dashed #3e5666; border-radius:9px; background:#16212a66; }.jb-no-results > .jb-icon { width:30px; height:30px; color:#8eabba; margin-bottom:9px; }.jb-no-results h3 { font-size:17px; margin:0 0 7px; }.jb-no-results p { font-size:12px; color:#a9c0d0; margin:0; line-height:1.6; }
.jb-completed-section { margin-top:20px; }.jb-completed-section > h3 { display:flex; align-items:center; gap:8px; font-size:16px; font-weight:650; color:#bfe4d2; margin:0 0 12px; }.jb-completed-section > h3 span { color:#96b0a5; font-size:12px; }
.jb-list { display:flex; flex-direction:column; gap:9px; }.jb-job.is-list-row { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(140px,.8fr); align-items:center; column-gap:22px; padding:15px 17px; }.jb-job.is-list-row.is-rush { padding-left:14px; }.is-list-row .jb-job-work,.is-list-row .jb-job-footer { margin-top:0; }.is-list-row .jb-job-title { font-size:15px!important; }.is-list-row .jb-move-picker { grid-column:1/-1; }.is-list-row .jb-move-picker select { max-width:350px; }.is-list-row .jb-move-picker > div { max-width:350px; }.jb-list-stage { color:var(--lane-color,#c1d3e0); font-size:11px; }.jb-archived-label { color:#8da7b9; font-size:11px; }
.jb-showing-archive .jb-drag-hint { display:none; }.jb-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media(min-width:1500px) { .jb-board { grid-template-columns:repeat(5,minmax(220px,1fr)); }.jb-lane { padding:15px 10px 10px; }.jb-job { padding:14px 12px 11px; }.jb-job.is-rush { padding-left:9px; } }
@media(max-width:1180px) { .jb-header { flex-wrap:wrap; gap:20px; }.jb-heading { flex:1; }.jb-stats { order:3; flex:1 1 100%; margin:0; }.jb-stat { flex:1; min-width:0; padding:0 18px; }.jb-stat:first-child { padding-left:0; border-left:0; }.jb-stat dd { font-size:24px; }.jb-header { padding-bottom:20px; }.jb-view-switch { margin-left:0; }.jb-history { margin-left:auto; }.jb-lane-nav { display:flex; }.jb-board { min-height:520px; } }
@media(max-width:760px) { .jb-toolbar { gap:10px; }.jb-search { flex:1 1 100%; min-width:0; }.jb-filters { flex:1; }.jb-filters button { flex:1; padding:8px 11px; }.jb-history { flex:1 1 100%; justify-content:flex-end; gap:20px; }.jb-context { align-items:flex-start; }.jb-drag-hint { display:none; }.jb-job.is-list-row { grid-template-columns:minmax(0,1fr) minmax(115px,.65fr); gap:11px 15px; }.is-list-row .jb-job-footer { grid-column:1/-1; }.jb-job.is-list-row .jb-job-work { justify-self:end; }.jb-job.is-list-row .jb-job-work .jb-progress-row { justify-content:flex-end; } }
@media(max-width:480px) { .jb-header { gap:18px 10px; }.jb-heading { min-width:0; }.jb-heading h2 { font-size:29px; }.jb-heading p { font-size:13px; }.jb-new { min-width:104px; min-height:43px; padding:10px 12px; font-size:12px!important; gap:6px; }.jb-new .jb-icon { width:18px; height:18px; }.jb-stat { padding:0 12px; }.jb-stat dt { font-size:11px; }.jb-stat dd { font-size:23px; }.jb-toolbar { margin-top:15px; }.jb-search input { font-size:12px; }.jb-segment button { padding:8px 10px; font-size:11px; }.jb-view-switch button { padding:8px; gap:5px; }.jb-view-switch .jb-icon { width:15px; height:15px; }.jb-history { margin-top:-3px; }.jb-context { margin-top:6px; }.jb-board { grid-template-columns:repeat(5,minmax(285px,1fr)); gap:10px; }.jb-lane { padding:14px 11px 11px; }.jb-lane-description { min-height:0; }.jb-job { padding:14px 12px 11px; }.jb-job.is-rush { padding-left:9px; }.jb-job-title { font-size:15px!important; }.jb-assignee { font-size:12px; }.jb-move { min-height:34px; padding:6px 10px; font-size:12px!important; }.jb-job.is-list-row { display:flex; align-items:stretch; gap:0; padding:14px; }.jb-job.is-list-row.is-rush { padding-left:11px; }.jb-job.is-list-row .jb-job-work { margin-top:9px; }.jb-job.is-list-row .jb-job-footer { margin-top:7px; }.jb-job.is-list-row .jb-job-work .jb-progress-row { justify-content:flex-start; } }
@media(prefers-reduced-motion:reduce) { .job-board-ui *, .job-board-ui *::before { transition:none!important; scroll-behavior:auto!important; } }
@media print { .jb-toolbar,.jb-new,.jb-lane-nav,.jb-move,.jb-move-picker,.jb-lane-empty,.jb-drag-hint { display:none!important; }.jb-board-scroll { overflow:visible; }.jb-board { display:block; }.jb-lane { margin-bottom:16px; break-inside:avoid; }.jb-job { break-inside:avoid; } }

/* Imported invoice descriptions can be long; keep production cards scannable. */
.job-board-ui .jb-job-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis}
.job-board-ui .is-list-row .jb-job-title{-webkit-line-clamp:2}
