/* DTF Table: the few parts the Separation Table's bench.css has no style for. Everything else is bench.css, so the two
   tables look and work the same. 369: spacing in 3s, 1px rules, no radius. */
.designs{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.designs li{border:1px solid var(--line);padding:9px;display:grid;grid-template-columns:60px minmax(0,1fr);gap:9px;cursor:pointer}
.designs li[aria-current=true]{outline:2px solid var(--fg);outline-offset:-2px}
.designs canvas{width:60px;height:60px;border:1px solid var(--line);display:block;background:repeating-conic-gradient(var(--dim) 0 25%,transparent 0 50%) 0 0/12px 12px}
.designs .fc{display:grid;gap:3px;min-width:0}
.designs .fc b{font-size:14px;overflow-wrap:anywhere}
.designs .fc span{font-size:12px;color:var(--muted)}
.designs .fc span.bad{color:var(--red)}
.designs .dfields{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:9px;align-items:end}
.designs .dfields .field{margin:0;min-width:0}
.designs .dfields .stepper.sp{grid-template-columns:33px minmax(0,1fr) 33px}
.designs .dfields button.rm{grid-column:1 / -1;height:33px}
/* four views (Art, Proof, Sheet, White): bench.css sets three */
#view.seg{grid-template-columns:repeat(4,minmax(0,1fr))}
/* no job tabs: the workspace pins at the top of the screen, not under a tab strip */
@media (max-width:960px){.pane.work > .square{top:var(--pin,0px)}}
.sheets{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.sheets li button{width:100%;text-align:left;text-transform:none;letter-spacing:0;font-weight:500;display:flex;justify-content:space-between;gap:9px}
.sheets li button[aria-pressed=true]{outline:2px solid var(--fg);outline-offset:-2px}
.links{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:13px}
.links a{color:var(--fg)}
.machines{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.machines li{display:flex;justify-content:space-between;align-items:center;gap:9px;border:1px solid var(--line);padding:6px 9px;font-size:13px}
#machName{flex:1 1 210px}
/* sheet zoom: Fit, −, the zoom, +, 100 % (bench.css styles the row and Fit; the percent sits between the steps) */
.zoomline .zpct{flex:1 1 auto;text-align:center;font-weight:700;font-variant-numeric:tabular-nums;font-size:14px;min-width:0}
#zoomSteps.zoomline > button[aria-pressed=true]{outline:2px solid var(--fg);outline-offset:-2px}
#zoomSteps.zoomline > button:disabled{opacity:.4}
.square .canvasbox canvas.sheetview{max-width:none;max-height:none;touch-action:pan-y}
.square .canvasbox canvas.sheetview.zoomed{touch-action:none;cursor:grab}
.square .canvasbox canvas.sheetview.zoomed:active{cursor:grabbing}
/* Framed in an ADN page the frame is as tall as the table, so a panel centred in the frame can open off the screen. It
   opens at the top of the part of the frame in view, and is no taller than that part (--pin, --pvh: the page script). */
body.framed dialog#shopPanel,body.framed dialog#helpPanel{margin-top:calc(var(--pin,0px) + 12px);margin-bottom:auto;max-height:calc(var(--pvh,100vh) - 69px)}
/* Show marks: the checkbox and its "?" on one line */
.field:has(> .chk #showMarks){display:flex;align-items:center;gap:9px}
/* the tool strip on the sheet: the Embroidery Table's (a slim column of 33 px tools floating on the canvas's left edge,
   clear of the rulers); on phones a single row along the top */
.toolstrip{position:absolute;z-index:5;left:24px;top:24px;display:flex;flex-direction:column;gap:2px;padding:3px;background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 3px #0003}
.toolstrip[hidden]{display:none}
.toolstrip .tool{width:33px;height:33px;padding:0;display:grid;place-items:center;border:0;background:transparent;color:var(--fg)}
.toolstrip .tool:hover{background:var(--hover)}
.toolstrip .tool[aria-pressed=true]{background:var(--fg);color:var(--surface)}
.toolstrip .tool:disabled{opacity:.35}
.toolstrip .sep{display:block;height:1px;margin:2px 3px;background:var(--line)}
@media (max-width:960px){
  .toolstrip{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;left:24px;right:6px;top:24px;justify-content:flex-start}
  .toolstrip .sep{width:1px;height:auto;margin:3px 2px}
  .toolstrip .tool{width:36px;height:36px;flex:none}
}
.square .canvasbox canvas.sheetview.tool-hand.zoomed{cursor:grab}
.square .canvasbox canvas.sheetview.tool-select{cursor:default}
.square .canvasbox canvas.sheetview.tool-measure{cursor:crosshair;touch-action:none}
/* the ruler units, at the end of the zoom row */
#zoomSteps .units{flex:none;display:flex;align-items:center}
#zoomSteps .units select{height:36px;width:auto;padding:0 6px}
/* the size badge clear of the left ruler */
.square .sizebadge{left:27px}
