/* home module: report charts, switches, period picker. Tokens only, so dark mode follows. */
.hm-chart{position:relative}
.hm-max{position:absolute;left:0;top:0}
.hm-vals{display:flex;gap:0;padding:16px 0 4px}
.hm-vals span{flex:1;text-align:center;font-weight:700;min-width:0;overflow:hidden;white-space:nowrap;font-size:11px}
.hm-vals span.hi{color:var(--bolt-ink)}
.hm-plot{position:relative;height:190px;border-bottom:1px solid var(--line);margin-top:18px}
.hm-vals + .hm-plot{margin-top:0}
.hm-svg{display:block;width:100%;height:100%;overflow:visible}
.hm-hit{cursor:pointer;transition:opacity .1s}
.hm-svg:hover .hm-hit:not(.on){opacity:.85}
.hm-hit.on{opacity:1;stroke:var(--ink);stroke-width:.4px;vector-effect:non-scaling-stroke}
.hm-dot{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--bolt);box-shadow:0 0 0 3px var(--card)}
.hm-x{display:flex;padding:6px 0 0}
.hm-x span{flex:1;text-align:center;min-width:0;white-space:nowrap;overflow:visible}
.hm-read{margin-top:8px;min-height:20px}
.hm-period{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.hm-custom{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.hm-custom .input{width:auto;min-width:0}
.hm-sw{width:52px;height:30px;border-radius:99px;border:0;cursor:pointer;position:relative;flex:none;transition:background .15s}
.hm-sw span{position:absolute;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:var(--sh-1);transition:left .15s}
.hm-sw:disabled{opacity:.6;cursor:default}
.hm-new{text-decoration:none;min-height:140px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;color:inherit}
.hm-tbl tbody tr[style*="cursor:default"]:hover td{background:none}
@media (max-width:720px){
  .hm-plot{height:150px}
  .hm-vals span{font-size:9.5px}
  .hm-period .seg{width:100%}
  .hm-period .seg button{flex:1 1 auto;padding:8px 10px}
  .hm-custom .input{flex:1}
  .hm-new{min-height:118px}
}
.hm-custom[hidden]{display:none}
@media (max-width:720px){ .hm-vals.many{display:none} .hm-vals.many + .hm-plot{margin-top:18px} }
/* Phone + tablet: everything you tap on production, quality, home and Ask screens is at least 44px (print room tablets, packers' phones).
   .t44 wraps those screens; body:has() carries it into the drawers and modals they open. */
@media (max-width:1024px){
  .t44 .chip, body:has(.t44) .drawer.on .chip, body:has(.t44) .modal.on .chip{height:auto;min-height:44px}
  .t44 .seg button, body:has(.t44) .drawer.on .seg button, body:has(.t44) .modal.on .seg button{min-height:44px}
  .t44 .btn, .t44 .btn.sm, body:has(.t44) .drawer.on .btn, body:has(.t44) .modal.on .btn{min-height:44px;height:auto}
  .t44 .input, .t44 .select, .t44 select, body:has(.t44) .drawer.on .input, body:has(.t44) .drawer.on select, body:has(.t44) .modal.on .input, body:has(.t44) .modal.on select{min-height:44px}
  .t44 .hm-sw{width:56px;height:34px;margin:5px 0}
  .t44 .hm-sw span{width:28px;height:28px}
  .t44 .qx-sw{width:56px;height:34px;margin:5px 0}
  .t44 .qx-sw span{width:28px;height:28px}
}
/* A step that isn't ticked yet shows an empty circle, not a grey ✓ that reads as "done" (print-room feedback, QA 13 Nov). */
.t44 .check:not(.done) .tick, body:has(.t44) .drawer.on .check:not(.done) .tick{color:transparent}
/* Phone: the print board's Now / Next / Later columns stack instead of scrolling sideways. */
@media (max-width:720px){ .t44 .kanban{grid-auto-flow:row;grid-auto-columns:auto;overflow-x:visible} }

/* 23 Nov 2026 (Dylan): Settings › Drop files */
.dp-zone{display:grid;gap:6px;justify-items:center;text-align:center;padding:34px 18px;border:2px dashed var(--line2);border-radius:16px;background:var(--sunk);cursor:pointer;margin-top:12px}
.dp-zone:hover,.dp-zone.on,.dp-zone:focus-visible{border-color:var(--bolt,#fcc01e);outline:none}
.dp-zone.on{background:var(--bolt-bg,var(--sunk))}
.dp-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.dp-row{display:flex;align-items:center;gap:14px;padding:10px 0;border-top:1px solid var(--line)}
.dp-row:first-child{border-top:0}
.dp-no{flex:none;min-width:48px;font-size:16px}
.dp-th{flex:none;width:64px;height:52px;border-radius:10px;border:1px solid var(--line);background:var(--sunk);display:grid;place-items:center;overflow:hidden;font-size:12px;font-weight:700;color:var(--muted);text-decoration:none}
.dp-th img{width:100%;height:100%;object-fit:cover}
.dp-main{flex:1;min-width:0}
.dp-name{font-weight:600;overflow-wrap:anywhere}
@media (max-width:720px){.dp-row{flex-wrap:wrap;gap:10px}.dp-no{min-width:40px}.dp-row .btn{margin-left:auto}}
