/* Production in the redesign (Hallmark, Rami 2 November 2026: the approved mockup, review/hallmark/production-rethink.html).
   public/work.js drawLine. Cadence tokens only, so light and dark follow by themselves; a phone of 400px with no sideways scroll;
   Arabic mirrors (logical properties). Every rule is scoped to pr-* (and #wkPage) so nothing else moves.
   The top: Production and its types as tabs on one line, ⋯ at its end. One toolbar under it. One list (no groups), each job one line
   of two rows: its name, and under it Urgent, its type and where it came from. Approvals as two columns. */

/* ---------- the top ---------- */
html body #wkPage .pr-head:not(#_){margin:0 0 18px;align-items:center}
html body #wkPage .pr-head .hl-head-l:not(#_){flex-wrap:nowrap;gap:12px 28px;min-width:0;flex:1 1 auto}
html body #wkPage .pr-head .hl-title:not(#_):not(#_){font-size:30px;letter-spacing:-.02em;flex:none}
html body #wkPage .hl-ptabs:not(#_):not(#_){display:flex;align-items:stretch;gap:4px 22px;min-width:0;overflow-x:auto;scrollbar-width:none;padding:0;margin:0;background:transparent;border-radius:0;box-shadow:none}
html body #wkPage .hl-ptabs::-webkit-scrollbar{display:none}
html body #wkPage .hl-ptabs a:not(#_):not(#_){display:inline-flex;align-items:center;gap:8px;flex:none;padding:8px 0 9px;border-radius:0;background:transparent;box-shadow:none;border-bottom:2px solid transparent;font:600 15px/1.2 var(--font-sans);color:var(--ink-muted);text-decoration:none;white-space:nowrap}
html body #wkPage .hl-ptabs a:hover:not(#_):not(#_){color:var(--c-ink)}
html body #wkPage .hl-ptabs a.on:not(#_):not(#_){color:var(--c-ink);border-bottom-color:var(--c-ink);background:transparent;box-shadow:none}
html body #wkPage .hl-ptabs a i:not(#_):not(#_){display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 7px;box-sizing:border-box;border-radius:999px;background:var(--surface-sunken);color:var(--ink-muted);font:600 12px/1 var(--font-sans);font-style:normal}
html body #wkPage .hl-ptabs a.on i:not(#_):not(#_){background:var(--c-ink);color:var(--surface)}
html body #wkPage .hl-ptabs a:focus-visible:not(#_){outline:2px solid var(--focus);outline-offset:2px}
html body #wkPage .pr-head .hl-more>summary:not(#_):not(#_){width:40px;height:40px;min-height:40px;padding:0;display:inline-grid;place-items:center;font-size:18px}

/* ---------- the toolbar ---------- */
html body #wkPage .card.pr-card:not(#_):not(#_):not(#_){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;overflow:visible}
html body #wkPage .pr-bar:not(#_){display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0 0 16px}
html body #wkPage .pr-bl:not(#_),html body #wkPage .pr-br:not(#_){display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
html body #wkPage .pr-vsep:not(#_){width:1px;height:24px;background:var(--border);margin:0 4px}
html body #wkPage .pr-bar .bk-tabs:not(#_):not(#_){height:40px;box-sizing:border-box}
html body #wkPage .pr-bar .bk-tabs>button:not(#_):not(#_){padding:0 14px;font-weight:600}
html body #wkPage .pr-findw:not(#_){position:relative;display:inline-flex;align-items:center}
html body #wkPage .pr-findw>svg:not(#_){position:absolute;inset-inline-start:11px;width:15px;height:15px;fill:none;stroke:var(--ink-subtle);stroke-width:2;stroke-linecap:round;pointer-events:none}
html body #wkPage .pr-find:not(#_):not(#_):not(#_){width:220px;height:40px;min-height:40px;box-sizing:border-box;padding-inline:34px 12px!important}
html body #wkPage .pr-bar :is(.bk-pkb,.lt-cb,.lt-vb,.pr-new):not(#_):not(#_):not(#_){height:40px;min-height:40px;box-sizing:border-box}
html body #wkPage .pr-new:not(#_):not(#_):not(#_){padding:0 18px;font-weight:600}
html body #wkPage .pr-cols:not(#_){display:inline-flex;align-items:center;gap:8px}
html body #wkPage .pr-cols>.lt-bar:not(#_){display:inline-flex;align-items:center;gap:8px;margin:0}

/* ---------- the list ---------- */
html body #wkPage .pr-list:not(#_):not(#_){border:0;background:transparent;overflow-x:auto;overflow-y:visible}
html body #wkPage .pr-list .wk-r1.pr-r:not(#_):not(#_):not(#_){height:auto;min-height:60px;border-top:0;border-bottom:1px solid var(--border);background:transparent;align-items:center}
html body #wkPage .pr-list .wk-r1.pr-r>*:not(#_):not(#_){display:flex;align-items:center;gap:6px;min-width:0;padding:8px 10px;box-sizing:border-box;border:0;background:transparent}
html body #wkPage .pr-list .wk-r1.pr-r>:first-child:not(#_):not(#_){justify-content:center;padding-inline:6px}
html body #wkPage .pr-list .wk-r1.pr-r input[type=checkbox]:not(#_):not(#_){width:17px;height:17px;margin:0}
html body #wkPage .pr-list .wk-r1.head.pr-r:not(#_):not(#_):not(#_){min-height:44px;background:transparent!important;position:sticky;top:0;z-index:3;background:var(--page)!important}
html body #wkPage .pr-list .wk-r1.head.pr-r>*:not(#_):not(#_):not(#_){font:600 12.5px/1.2 var(--font-sans)!important;color:var(--ink-muted)!important;justify-content:flex-start!important;text-align:start!important;background:transparent!important;border:0!important;letter-spacing:0;text-transform:none}
html body #wkPage .pr-list .wk-r1.head.pr-r>:first-child:not(#_):not(#_):not(#_){justify-content:center!important}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head):not(.bk-add):hover:not(#_):not(#_):not(#_),html body #wkPage .pr-list .wk-r1.pr-r.sel:not(#_):not(#_):not(#_),html body #wkPage .pr-list .wk-r1.pr-r.open:not(#_):not(#_):not(#_){background:var(--surface-hover)}
html body #wkPage .pr-list .wk-r1.pr-r.done:not(#_):not(#_) .pr-jt b{color:var(--ink-muted)}
html body #wkPage .pr-list .wk-r1.pr-r.late:not(#_):not(#_):not(#_){background:transparent}
/* Job: its name, then a line under it */
html body #wkPage .pr-job:not(#_):not(#_):not(#_){flex-direction:column;align-items:flex-start!important;justify-content:center;gap:3px!important}
html body #wkPage .pr-jt:not(#_){display:flex;align-items:center;gap:6px;max-width:100%;min-width:0}
html body #wkPage .pr-jt>a,html body #wkPage .pr-jt>button.mw-open{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--c-ink);text-decoration:none}
html body #wkPage .pr-jt b:not(#_){font-weight:600;font-size:14.5px;color:var(--c-ink)}
html body #wkPage .pr-js:not(#_){display:flex;align-items:center;gap:6px;max-width:100%;min-width:0;font-size:12.5px;color:var(--ink-subtle);white-space:nowrap;overflow:hidden}
html body #wkPage .pr-js small:not(#_){font-size:12.5px;color:var(--ink-subtle);overflow:hidden;text-overflow:ellipsis;min-width:0}
html body #wkPage .pr-js .wk-tag:not(#_):not(#_){height:20px;padding:0 7px;font-size:11.5px;flex:none}
html body #wkPage .pr-type:not(#_){flex:none;display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:5px;font:600 11.5px/1 var(--font-sans);font-style:normal;background:hsl(var(--pv-h,220) 70% 92%);color:hsl(var(--pv-h,220) 45% 30%)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body #wkPage .pr-type:not(#_){background:hsl(var(--pv-h,220) 32% 27%);color:#eef0f3}}
:root[data-theme="dark"] body #wkPage .pr-type:not(#_){background:hsl(var(--pv-h,220) 32% 27%);color:#eef0f3}
/* Client: its initials in a circle, then its name */
html body #wkPage .pr-cl:not(#_):not(#_)>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:var(--c-ink)}
html body #wkPage .pr-cav:not(#_){flex:none;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--surface-sunken);color:var(--ink-muted);font:700 9.5px/1 var(--font-sans);font-style:normal}
/* Who: a person, or a yellow Assign */
html body #wkPage .pr-list .wk-r1.pr-r>span>select.wk-st:not(#_):not(#_):not(#_){max-width:100%;width:100%;height:36px;border-radius:var(--radius-md)}
html body #wkPage .pr-list .wk-r1.pr-r .pk-mbtn:not(#_):not(#_):not(#_){height:36px;min-height:36px;border-radius:var(--radius-md);max-width:100%}
/* Due: the day, and under it Late · n days in red */
html body #wkPage .pr-due:not(#_):not(#_){flex-direction:column;align-items:flex-start!important;justify-content:center;gap:2px!important}
html body #wkPage .pr-due b:not(#_){font-weight:500;color:var(--c-ink);font-size:13.5px;white-space:nowrap}
html body #wkPage .pr-due.late b:not(#_){color:var(--status-stuck-fg);font-weight:600}
html body #wkPage .pr-late:not(#_):not(#_){color:var(--status-stuck-fg);font-size:12px;font-weight:600;white-space:nowrap}
html body #wkPage .pr-due .dpick:not(#_){display:inline-flex;position:relative;cursor:pointer}
html body #wkPage .pr-due .dneed:not(#_){font-size:12px;color:var(--ink-subtle)}
/* Status: the filled block with ▾ (set here), or a post's pale block with → (opens the post) */
html body #wkPage .pr-list .wk-r1.pr-r>span>select[data-lj=status]:not(#_):not(#_):not(#_){height:38px;border-radius:var(--radius-md);font-weight:600}
html body #wkPage .pr-stgo:not(#_):not(#_):not(#_){height:38px;border-radius:var(--radius-md);padding:0 12px;width:100%;justify-content:space-between;border:1px solid currentColor;font:600 13px/1 var(--font-sans);cursor:pointer}
/* the approvals */
html body #wkPage .pr-ap:not(#_):not(#_){flex-wrap:wrap;row-gap:4px!important}
html body #wkPage .pr-ap .wk-go:not(#_){display:inline-flex;gap:6px;flex-wrap:nowrap}
html body #wkPage .pr-ap .btn-s:not(#_):not(#_):not(#_){height:34px;min-height:34px;padding:0 11px;font-weight:600;white-space:nowrap}
html body #wkPage .pr-ap .btn-s.pri:not(#_):not(#_):not(#_):not(#_){background:var(--c-ink)!important;color:var(--surface)!important;border-color:var(--c-ink)!important}
html body #wkPage .pr-apw:not(#_){font-size:13px;color:var(--ink-subtle);white-space:nowrap}
html body #wkPage .pr-apok:not(#_){font-size:13px;font-weight:600;color:var(--accent-green);white-space:nowrap}
html body #wkPage .pr-ap .wk-rowerr:not(#_){flex-basis:100%;font-size:12px}
/* folded at the end: Approved and done, Cancelled */
html body #wkPage .pr-fold:not(#_):not(#_){display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:0 12px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--ink-muted);font:600 14px var(--font-sans);text-align:start;cursor:pointer}
html body #wkPage .pr-fold:hover:not(#_){color:var(--c-ink);background:var(--surface-hover)}
html body #wkPage .pr-fold svg:not(#_){width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;transition:transform var(--dur-fast,.12s)}
html body #wkPage .pr-fold[aria-expanded=true] svg:not(#_){transform:rotate(90deg)}
html[dir=rtl] body #wkPage .pr-fold[aria-expanded=false] svg:not(#_){transform:scaleX(-1)}
html body #wkPage .pr-fold em:not(#_){font-style:normal;display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 7px;border-radius:999px;background:var(--surface-sunken);font-size:12px}
html body #wkPage .pr-list form.bk-add.pr-r:not(#_):not(#_):not(#_){min-height:48px;border-bottom:1px solid var(--border)}
html body #wkPage .pr-list form.bk-add.pr-r>*:not(#_):not(#_):not(#_){padding:6px 10px}

/* ---------- By person: a lane each ---------- */
html body #wkPage .pr-lanes:not(#_){display:flex;flex-direction:column;gap:12px}
html body #wkPage .pr-lane:not(#_){display:grid;grid-template-columns:240px minmax(0,1fr);gap:12px 16px;padding:14px;border-radius:var(--radius-lg);background:var(--surface-sunken)}
html body #wkPage .pr-lane.none:not(#_){background:color-mix(in srgb,var(--st-warn,#f5c84c) 22%,var(--surface))}
html body #wkPage .pr-lp:not(#_){display:flex;flex-direction:column;gap:8px;min-width:0}
html body #wkPage .pr-lpw:not(#_){display:flex;align-items:center;gap:10px;min-width:0}
html body #wkPage .pr-lpw>span:not(#_){display:flex;flex-direction:column;min-width:0}
html body #wkPage .pr-lpw b:not(#_){font-size:15px;font-weight:600;color:var(--c-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #wkPage .pr-lpw small:not(#_){font-size:12.5px;color:var(--ink-subtle)}
html body #wkPage .pr-av:not(#_){flex:none;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--surface);color:var(--ink-muted);font:700 12px/1 var(--font-sans);font-style:normal;box-shadow:0 0 0 1px var(--border)}
html body #wkPage .pr-av.q:not(#_){background:#fbe08a;color:#3b2b00;box-shadow:none}
html body #wkPage .pr-ld:not(#_){display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--ink-muted)}
html body #wkPage .pr-ld b:not(#_){font-size:14px;color:var(--c-ink)}
html body #wkPage .pr-lbar:not(#_){display:block;height:6px;border-radius:99px;background:var(--surface);overflow:hidden}
html body #wkPage .pr-lbar i:not(#_){display:block;height:100%;border-radius:99px;background:var(--c-ink)}
html body #wkPage .pr-lnew:not(#_):not(#_):not(#_){align-self:flex-start;height:32px;min-height:32px;padding:0 12px;font-size:13px}
html body #wkPage .pr-lcards:not(#_){display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;align-content:start;min-width:0}
html body #wkPage .pr-lcard:not(#_):not(#_){margin:0;cursor:default}
html body #wkPage .pr-lcard .pr-lwho select:not(#_):not(#_){height:32px;max-width:100%}
html body #wkPage .mw-card .pr-late:not(#_){font-size:12px}

/* ---------- the job's panel ---------- */
html body .sp-job.pr-panel:not(#_){display:flex;flex-direction:column;gap:14px}
html body .pr-pmeta:not(#_){display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html body .pr-pmeta>span>select.wk-st:not(#_):not(#_):not(#_){width:auto;max-width:220px;height:36px;border-radius:var(--radius-md);font-weight:600}
html body .pr-pmeta .pr-stgo:not(#_):not(#_){height:36px;padding:0 12px;border-radius:var(--radius-md);border:1px solid currentColor;font-weight:600;cursor:pointer}
html body .sp .pp-stepbox.pr-step:not(#_):not(#_){margin:0}
html body .pr-stk:not(#_){font-size:13.5px;font-weight:600;color:var(--c-ink)}
html body .pr-stdo:not(#_),html body .pr-stdo .wk-go:not(#_){display:flex;flex-wrap:wrap;gap:8px}
html body .pr-stdo .btn-s:not(#_):not(#_):not(#_){height:38px;min-height:38px;padding:0 16px;font-weight:600}
html body .pr-stdo .btn-s.pri:not(#_):not(#_):not(#_):not(#_){background:var(--c-ink)!important;color:var(--surface)!important;border-color:var(--c-ink)!important}
html body .pr-stwho:not(#_){display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--ink-muted)}
html body .pr-stwho select:not(#_):not(#_){max-width:280px}
html body .pr-pfiles:not(#_):not(#_){display:flex;flex-direction:column;gap:8px;margin:0}
html body .pr-pfiles>small:not(#_),html body .pr-panel .sp-jf>small:not(#_),html body .pr-panel .sp-jtop small:not(#_),html body .pr-panel .wk-jdf>span:first-child:not(#_){font-size:12.5px;font-weight:600;color:var(--ink-muted)}
html body .pr-ptabs:not(#_){display:flex;gap:22px;border-bottom:1px solid var(--border)}
html body .pr-ptabs button:not(#_):not(#_){padding:8px 0 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--ink-muted);font:600 14px var(--font-sans);cursor:pointer;border-radius:0}
html body .pr-ptabs button.on:not(#_):not(#_){color:var(--c-ink);border-bottom-color:var(--c-ink)}
html body .pr-panel .sp-jtop.pr-pwho:not(#_):not(#_){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:0}
html body .pr-purg:not(#_){display:flex;align-items:center;min-height:38px}
html body .pr-sw:not(#_):not(#_){display:inline-flex;align-items:center;gap:10px;height:38px;padding:0 4px;border:0;background:transparent;color:var(--c-ink);font:500 14px var(--font-sans);cursor:pointer}
html body .pr-sw>i:not(#_){position:relative;width:38px;height:22px;border-radius:99px;background:var(--surface-sunken);box-shadow:inset 0 0 0 1px var(--border-strong);transition:background var(--dur-fast,.12s)}
html body .pr-sw>i::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:16px;height:16px;border-radius:50%;background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:inset-inline-start var(--dur-fast,.12s)}
html body .pr-sw.on>i:not(#_){background:var(--status-stuck-fg);box-shadow:none}
html body .pr-sw.on>i::after{inset-inline-start:19px}
html body .pr-sw:focus-visible:not(#_){outline:2px solid var(--focus);outline-offset:2px;border-radius:var(--radius-md)}
html body .pr-pfoot:not(#_):not(#_){display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--border)}
html body .pr-saves:not(#_){margin-inline-start:auto;font-size:12.5px;color:var(--ink-subtle)}
@media (prefers-reduced-motion:reduce){html body .pr-sw>i:not(#_),html body .pr-sw>i::after,html body #wkPage .pr-fold svg:not(#_){transition:none}}

/* ---------- a phone ---------- */
@media (max-width:760px){
  html body #wkPage .pr-head:not(#_):not(#_){flex-direction:row;flex-wrap:wrap;align-items:center;margin-bottom:12px}
  html body #wkPage .pr-head .hl-head-l:not(#_):not(#_){flex-direction:column;align-items:stretch;gap:6px;width:calc(100% - 52px);flex:1 1 auto}
  html body #wkPage .pr-head .hl-head-r:not(#_):not(#_){position:absolute;inset-inline-end:0;width:auto}
  html body #wkPage .pr-head:not(#_){position:relative}
  html body #wkPage .pr-head .hl-title:not(#_):not(#_):not(#_){font-size:26px;width:auto}
  html body #wkPage .hl-ptabs:not(#_):not(#_){gap:4px 18px;margin-inline:-16px;padding-inline:16px;border-bottom:1px solid var(--border)}
  html body #wkPage .pr-pbar:not(#_):not(#_){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  html body #wkPage .pr-pbar .pr-findw:not(#_){grid-column:1/-1}
  html body #wkPage .pr-pbar .pr-find:not(#_):not(#_):not(#_){width:100%;height:44px;min-height:44px}
  html body #wkPage .pr-pbar .bk-pk:not(#_){min-width:0}
  html body #wkPage .pr-pbar :is(.bk-pkb,.pr-new):not(#_):not(#_):not(#_){height:44px;min-height:44px;width:100%}
  html body #wkPage .pr-lane:not(#_){grid-template-columns:minmax(0,1fr)}
  /* the phone's own header says Production; Quick find and + are its floating bar (app.js), so they leave the page's toolbar */
  html body #wkPage .pr-head .hl-title:not(#_):not(#_):not(#_):not(#_){display:none}
  html body #wkPage .pr-head .hl-head-l:not(#_):not(#_){width:calc(100% - 52px)}
  html body #wkPage .pr-head .hl-head-r:not(#_):not(#_){top:0}
  html body #wkPage .hl-ptabs:not(#_):not(#_){margin-inline-end:0;border-bottom:0}
  html body.fl-on #wkPage .pr-pbar .pr-findw:not(#_){display:none}
  html body.fl-on #wkPage .pr-pbar:not(#_):not(#_){display:flex;flex-wrap:wrap}
}

/* ---------- the line's controls, over the Hub's older list rules (cadence.css stretches a status to the whole cell) ---------- */
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>span:has(>select):not([style*="none"]):not(#_):not(#_):not(#_){display:flex!important;align-items:center!important;align-self:stretch!important;padding:8px 10px!important}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>span>select[data-lj=status]:not(#_):not(#_):not(#_):not(#_){flex:1 1 auto;width:100%!important;min-width:0!important;max-width:100%!important;height:38px!important;min-height:38px!important;border-radius:var(--radius-md)!important;padding-inline:12px 28px!important;font-weight:600!important;font-size:13px!important}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>span>.pk-mbtn:not(#_):not(#_):not(#_):not(#_){height:36px!important;min-height:36px!important;width:auto!important;max-width:100%!important;border-radius:var(--radius-md)!important;justify-content:flex-start}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>span>.pk-mbtn.wk-unas:not(#_):not(#_):not(#_):not(#_),html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>span>select.wk-unas:not(#_):not(#_):not(#_):not(#_){width:100%!important;font-weight:600!important}
html body #wkPage .pr-due .dpick:not(#_):not(#_):not(#_){background:transparent!important;padding:0!important;height:auto!important;min-height:0!important;border:0!important;box-shadow:none!important}
html body #wkPage .pr-due .dpick b:not(#_):not(#_){font-weight:500}
html body #wkPage .pr-due.late .dpick b:not(#_):not(#_){color:var(--status-stuck-fg);font-weight:600}
html body #wkPage .pr-js .wk-turn:not(#_):not(#_){flex:none;height:20px;padding:0 7px;margin:0;font-size:11.5px;line-height:20px;border-radius:5px}
/* Sent: a round tick with its word under it; pressed, the job is With the client */
html body #wkPage .pr-sent:not(#_):not(#_){display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:2px 6px;border:0;background:transparent;color:var(--ink-muted);font:600 11.5px/1 var(--font-sans);cursor:pointer;border-radius:var(--radius-md)}
html body #wkPage .pr-sent>i:not(#_){display:block;width:22px;height:22px;box-sizing:border-box;border-radius:50%;border:2px solid var(--border-strong);transition:border-color var(--dur-fast,.12s),background var(--dur-fast,.12s)}
html body #wkPage .pr-sent:hover>i:not(#_),html body #wkPage .pr-sent:focus-visible>i:not(#_){border-color:var(--c-ink);background:var(--surface-hover)}
html body #wkPage .pr-sent:focus-visible:not(#_){outline:2px solid var(--focus);outline-offset:2px}
/* a person's lane: a card keeps inside its box */
html body #wkPage .pr-lcard:not(#_):not(#_):not(#_){min-width:0;overflow:hidden}
html body #wkPage .pr-lcard .mw-k:not(#_){display:flex;justify-content:space-between;gap:8px;min-width:0}
html body #wkPage .pr-lcard .mw-k>span:not(#_){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #wkPage .pr-lcard .pr-lwho:not(#_){display:block;max-width:100%}
html body #wkPage .pr-lcard .pr-lwho :is(select,.pk-mbtn):not(#_):not(#_):not(#_){width:100%!important;max-width:100%!important;height:34px!important;min-height:34px!important;border-radius:var(--radius-md)!important;font-weight:600!important}
html body #wkPage .pr-list .wk-r1.pr-r>*:not(#_):not(#_):not(#_),html body #wkPage .pr-list .wk-r1.pr-r>* :is(a,b,small,span):not(#_):not(#_){line-height:1.35}
html body #wkPage .pr-jt b:not(#_):not(#_):not(#_){padding:0;margin:0;display:inline}
html body #wkPage .pr-list .wk-r1.pr-r>.pr-job:not(#_):not(#_):not(#_){padding-block:10px}
/* nobody on it yet: Assign, in the yellow of something to do */
html body #wkPage .pr-list .wk-r1.pr-r.unas:not(.head)>span>.pk-mbtn:not(#_):not(#_):not(#_):not(#_),html body #wkPage .pr-lcard .pr-lwho .pk-mbtn:not(#_):not(#_):not(#_):not(#_){background:color-mix(in srgb,var(--st-warn,#f5c84c) 55%,var(--surface))!important;color:var(--c-ink)!important;-webkit-text-fill-color:var(--c-ink);border-color:transparent!important;font-weight:600!important}
/* the language check on a Design job (lib/langdesign.js, 3 November 2026): its tick and where the check is, under the step */
html body .pr-lang:not(#_){display:flex;flex-direction:column;gap:2px;margin:6px 0 10px}
html body .pr-lang .pr-sw.on>i:not(#_):not(#_){background:var(--c-ink,var(--ink))}
html body .pr-langst:not(#_){color:var(--ink-muted);font-size:13px;line-height:1.4;overflow-wrap:anywhere}
html body .pr-langst.pr-early:not(#_){font-style:italic}
/* A Translation job's panel (Rami, 3 November 2026; lib/translation.js): the Arabic as asked, "Arabic changed", the Translation box */
html body .pr-trans:not(#_){display:flex;flex-direction:column;gap:10px;margin:6px 0 12px}
html body .pr-trar:not(#_){display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:var(--radius-md);background:var(--surface-sunken)}
html body .pr-trar p:not(#_),html body .pr-trbox p:not(#_){margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55;color:var(--c-ink)}
html body :is(.pr-trar,.pr-trbox)>small:not(#_){font-size:12.5px;font-weight:600;color:var(--ink-muted)}
html body .pr-trbox:not(#_){display:flex;flex-direction:column;gap:4px}
html body .pr-trpart:not(#_){display:flex;flex-direction:column;gap:10px}html body .pr-trpart+.pr-trpart:not(#_){padding-top:10px;border-top:1px solid var(--line, rgba(0,0,0,.08))}
html body .pr-trbox textarea:not(#_){width:100%;box-sizing:border-box;min-height:120px;font-size:14.5px;line-height:1.55}
html body .pr-trch:not(#_){display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;padding:8px 12px;border-radius:var(--radius-md);background:var(--status-warn-bg);color:var(--status-warn-fg);font-size:13px}
html body .pr-trch>span:not(#_){display:flex;flex-direction:column;gap:2px;min-width:0}
html body .pr-trch small:not(#_){white-space:pre-wrap;overflow-wrap:anywhere}
html body .pr-trhint:not(#_){color:var(--ink-muted);font-size:12.5px;line-height:1.45}
/* the pinned first columns, when the list scrolls sideways (lists.js .lt-stick): they keep the page's colour, and a hovered, ticked or open
   row's tint, so nothing slides into sight under them (Rami, 4 November 2026: "the sticky columns has no background") */
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>.lt-stick:not(#_):not(#_):not(#_){background:var(--lt-bg,var(--page))}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head):not(.bk-add):hover>.lt-stick:not(#_):not(#_):not(#_),html body #wkPage .pr-list .wk-r1.pr-r.sel>.lt-stick:not(#_):not(#_):not(#_),html body #wkPage .pr-list .wk-r1.pr-r.open>.lt-stick:not(#_):not(#_):not(#_){background:linear-gradient(var(--surface-hover),var(--surface-hover)),var(--lt-bg,var(--page))}
/* A video's captions (team feedback #6, 5 November 2026; lib/videocaps.js): Needs captions, its step, that step's buttons */
html body .pr-caps .pr-capst b:not(#_){color:var(--c-ink,var(--ink));font-weight:600}
html body .pr-caps .pr-capn:not(#_){font-size:13px;font-weight:600}
html body .pr-capdo:not(#_){display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
html body .pr-capfin:not(#_){display:flex;gap:6px;margin-top:6px;min-width:0}
html body .pr-capfin input:not(#_){flex:1;min-width:0}
html body .pr-capup:not(#_){cursor:pointer}
html body #wkPage .pr-capc:not(#_){display:flex;flex-direction:column;gap:1px;min-width:0}
html body #wkPage .pr-capc small:not(#_):not(#_){font-size:12.5px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #wkPage .pr-capc.mine small:first-child:not(#_):not(#_){font-weight:700;color:var(--c-ink,var(--ink))}
html body #wkPage .pr-capc .pr-capw:not(#_):not(#_){color:var(--ink-muted)}

/* a phone's folded group (HubPhone.group): its chevron turns when it opens */
html body .mk-grpc:not(#_){flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--dur-fast,.12s)}
html body .mk-grp.is-open>.mk-grph .mk-grpc:not(#_){transform:rotate(90deg)}
html[dir=rtl] body .mk-grp:not(.is-open)>.mk-grph .mk-grpc:not(#_){transform:scaleX(-1)}
/* in a section: a card like the rows beside it, its rows set in inside it once open */
html body .mk-sec>.mk-grp:not(#_):not(#_):not(#_),html body .mk-grp:not(#_){min-width:0;max-width:100%;background:var(--surface);border:0;border-radius:16px;margin:0 0 8px;overflow:hidden}
html body .mk-grp>.mk-grph:not(#_):not(#_):not(#_){display:flex;width:100%;min-width:0;max-width:100%;box-sizing:border-box;gap:10px;padding:12px 14px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;font:inherit;color:inherit;text-align:start;cursor:pointer;align-items:center}
html body .mk-grp .mk-body:not(#_):not(#_){display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex:1 1 auto}
html body .mk-grps:not(#_):not(#_){display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
html body .mk-grps small:not(#_):not(#_){white-space:normal;min-width:0}
html body .mk-grpa:not(#_){display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none;width:88px}
html body .mk-grpin:not(#_)>.mk-item:not(#_):not(#_){margin:0;border:0;border-top:1px solid var(--border);border-radius:0;background:transparent;padding:10px 14px 10px 30px;box-shadow:inset 3px 0 0 var(--border-strong,var(--border))}
html body .pr-apcl:not(#_){display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600}html body .pr-apcl i:not(#_){width:7px;height:7px;border-radius:50%;background:var(--accent-sky)}html body .pr-apcl.asked i:not(#_){background:var(--accent-rose)}
/* Column widths (Rami, 8 November 2026): each column starts as wide as what it holds (lists.js data-lfit, between its title and its
   widest); long text wraps inside its cell instead of stretching the table: a job's name on up to two lines, details and other text on up to three */
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .pr-jt>a:not(#_):not(#_),html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .pr-jt>button.mw-open:not(#_):not(#_){white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:start}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .pr-pc .pr-ptx:not(#_):not(#_){white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.35}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .wk-by>span:not(#_):not(#_){white-space:normal;overflow-wrap:anywhere}
/* Each type's own fields (Rami, 8 November 2026, the approved mockup monday/per-type; public/fieldsets.js): one value per cell, cut
   with …; a field strip under a shoot's video and a My work line, the same fields in the same order, compact or full */
#wkPage .fs-tx{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.35;color:var(--ink)}
#wkPage .fs-chips{display:flex;flex-wrap:wrap;gap:3px}
#wkPage .fs-chips i{font-style:normal;background:var(--surface-sunken);border-radius:6px;padding:1px 6px;font-size:12px;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}
#wkPage .fs-link{font-size:12.5px;color:var(--accent-sky,var(--c-ink,var(--ink)));text-decoration:none;white-space:nowrap}
#wkPage .fs-shoot{display:flex;flex-direction:column;min-width:0}
#wkPage .fs-shoot b{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#wkPage .fs-shoot small,#wkPage .fs-yn{font-size:12px;color:var(--ink-muted)}
#wkPage .fs-yn.on{color:var(--ink)}
#wkPage .fs-go{text-decoration:none;color:inherit;display:block;min-width:0}
#wkPage .fs-ed{margin-inline-start:6px;font-size:12px;color:var(--ink-muted)}
.fs-full{white-space:pre-wrap;margin:0}
#wkPage .fs-strip{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:6px}
#wkPage .fs-f{display:flex;flex-direction:column;min-width:90px;max-width:260px}
#wkPage .fs-f .fs-l{font-size:11px;color:var(--ink-subtle);text-transform:none}
#wkPage .fs-compact{gap:4px 12px;margin-top:4px}
#wkPage .fs-compact .fs-f{flex-direction:row;align-items:baseline;gap:4px;max-width:220px;min-width:0}
#wkPage .fs-compact .fs-tx{-webkit-line-clamp:1;font-size:12px}
#wkPage .fs-compact .fs-shoot{flex-direction:row;gap:4px}
#wkPage .fs-f.fs-notes{flex-basis:100%;max-width:none}
#wkPage .fs-f.fs-notes textarea{width:100%}
#wkPage .fs-compact .fs-f.fs-notes{flex-basis:auto;max-width:320px}
/* Other: the project groups, each its jobs under their own type's columns */
#wkPage .pr-ogs{display:flex;flex-direction:column;gap:18px}
#wkPage .pr-og{border-radius:12px;background:var(--surface-sunken);padding:10px 12px 12px}
#wkPage .pr-ogh{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 8px}
#wkPage .pr-ogh>span{display:flex;flex-direction:column;min-width:0}
#wkPage .pr-ogh b{font-size:15px}
#wkPage .pr-ogh small{color:var(--ink-muted);font-size:12.5px}
#wkPage .pr-ogt{padding:8px 2px 4px;color:var(--ink-muted);font-size:12.5px}
#wkPage .pr-oglist{background:var(--surface);border-radius:10px}
#wkPage .pr-ognew{margin:0}
/* the view the server narrows: its pill, Step and Show finished (a tick big enough for a thumb) */
#wkPage .pr-view{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
#wkPage .pr-wide.on{background:var(--surface-sunken)}
#wkPage .pr-fin{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-muted);min-height:32px}
#wkPage .pr-fin input{width:22px;height:22px;margin:0}
#wkPage .pr-cap{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;color:var(--ink-muted);font-size:13px}
#wkPage select.pr-step{width:auto;min-width:0;flex:0 0 auto}
/* the click rule (Rami, 10 November 2026): pointing at a cell you can change outlines it and shows the hand; a cell that only shows
   information stays plain, and pressing the line itself does nothing (the job's side panel opens from its speech bubble) */
html body #wkPage .pr-list .wk-r1.pr-r:not(.head):not(.bk-add):not(#_):not(#_){cursor:default}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head):not(.bk-add)>[data-l]:not(.pr-job):has(:is(button,select,textarea,[role=button],input:not([type=checkbox]))):hover:not(#_):not(#_):not(#_){box-shadow:inset 0 0 0 1px var(--border-strong);border-radius:var(--radius-md);cursor:pointer;background:var(--surface)}
html body #wkPage .pr-list .pr-jt .pr-nm0 b:not(#_):not(#_){cursor:default}
html body #wkPage .pr-list .pr-jt .pr-nmr b:not(#_):not(#_){cursor:text}
html body #wkPage .pr-list .pr-jt .pr-nmgo:not(#_):not(#_){font-size:12px;color:var(--ink-muted);white-space:nowrap;margin-inline-start:4px}
html body #wkPage .pr-list .pr-jt .pr-nmgo:hover:not(#_):not(#_){color:var(--ink);text-decoration:underline}
/* one row height (Rami, 10 November 2026: "the rows are too tall. I want them all to be a fixed height around 60px... I don't want things
   to get cut off... long form text on one line with ... then on hover the full text and on click edit"): every line is 60px; the job's
   name and its line under it are one line each, the speech bubble beside them; long text is one line with "…" (its full text on hover,
   pressing it opens its box as before); a group's line too */
html body #wkPage .pr-list .wk-r1.pr-r:not(.head):not(#_):not(#_):not(#_){height:60px;min-height:60px;max-height:60px}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>*:not(#_):not(#_):not(#_){padding-block:0;max-height:60px;overflow:hidden}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>.pr-job:not(#_):not(#_):not(#_){display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;column-gap:8px;row-gap:2px;padding-block:0}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>.pr-job>.pr-jt:not(#_):not(#_){grid-column:1;grid-row:1;min-width:0}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>.pr-job>.pr-js:not(#_):not(#_){grid-column:1;grid-row:2;min-width:0}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head)>.pr-job>.cp-bub:not(#_):not(#_):not(#_){grid-column:2;grid-row:1/3;align-self:center;position:static;margin:0}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .pr-jt>:is(a,button.mw-open,.pr-nm0):not(#_):not(#_):not(#_){display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset;min-width:0}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .pr-jt b:not(#_):not(#_):not(#_){white-space:nowrap}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .pr-js>*:not(#_):not(#_){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) :is(.fs-nt,.fs-tx,.pr-pcn>span):not(#_):not(#_):not(#_){display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;-webkit-line-clamp:unset}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .fs-note:not(#_):not(#_){display:block;min-width:0;max-width:100%;overflow:hidden}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .pr-pc:not(#_):not(#_){min-width:0;max-width:100%}
html body #wkPage .pr-list .wk-r1.pr-r:not(.head) .fs-note .fs-more:not(#_):not(#_):not(#_){display:none}

/* ---- the toolbar (Rami, 10 November 2026: the approved mockup "Production toolbar"): the tabs line ends with ⓘ, + New job and ⋯; under it
   the views and one Filter (its panel holds every filter); what is on shows as chips under the toolbar ---- */
html body #wkPage .pr-head .hl-head-r:not(#_){display:flex;align-items:center;gap:8px}
html body #wkPage .pr-head .pr-new:not(#_):not(#_){height:40px;min-height:40px;border-radius:999px;padding:0 18px;font-weight:600}
html body #wkPage .pr-ibtn:not(#_):not(#_){width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:999px;background:transparent;display:grid;place-items:center;color:var(--ink-muted)}
html body #wkPage .pr-ibtn:hover:not(#_):not(#_){background:var(--surface-hover);color:var(--ink)}
html body #wkPage .pr-ibtn .ni:not(#_),html body #wkPage .pr-fbtn .ni:not(#_){width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
html body #wkPage .pr-info .pr-soc:not(#_):not(#_){margin:0;padding:4px 2px;background:none;border:0;font-size:14px;line-height:1.5}
html body #wkPage .pr-bar .pr-bl:not(#_):not(#_){display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html body #wkPage .pr-fbtn:not(#_):not(#_){height:40px;min-height:40px;box-sizing:border-box;border-radius:999px;padding:0 14px;display:inline-flex;align-items:center;gap:8px;font-weight:600}
html body #wkPage .pr-fbtn.on:not(#_):not(#_){border-color:var(--ink)}
html body #wkPage .pr-fn:not(#_){font-style:normal;min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:999px;background:var(--ink);color:var(--surface);font-size:12px;display:inline-grid;place-items:center}
html body #wkPage .pr-filter .hl-pop:not(#_):not(#_){padding:16px;display:flex;flex-direction:column;gap:12px}
html body #wkPage .pr-fhead:not(#_){display:flex;align-items:center;justify-content:space-between;gap:8px}
html body #wkPage .pr-fhead b:not(#_){font-size:15px}
html body #wkPage .pr-frow:not(#_){display:flex;flex-direction:column;gap:6px}
html body #wkPage .pr-fl:not(#_){font-size:13px;color:var(--ink-muted)}
html body #wkPage .pr-frow :is(.pr-step,.bk-pkb,.pr-wide):not(#_):not(#_){width:100%;justify-content:flex-start}
html body #wkPage .pr-fchk:not(#_):not(#_){display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer}
html body #wkPage .pr-fchk input:not(#_){width:18px;height:18px;margin:0}
html body #wkPage .pr-chips:not(#_){display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-6px 0 14px}
html body #wkPage .pr-chip:not(#_){height:30px;box-sizing:border-box;padding:0 4px 0 12px;border-radius:999px;background:var(--primary-soft);color:var(--status-done-fg);font-size:13px;font-weight:500;display:inline-flex;align-items:center;gap:2px}
html body #wkPage .pr-chip button:not(#_):not(#_){width:24px;height:24px;min-height:24px;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;font-size:16px;line-height:1;cursor:pointer}
html body #wkPage .pr-chip button:hover:not(#_):not(#_){background:color-mix(in srgb,currentColor 12%,transparent)}
html body #wkPage .pr-chips .pr-narrow:not(#_):not(#_){display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;background:none;border:0;font-size:13px;color:var(--ink-muted)}
html body #wkPage .pr-chips .pr-narrow .btn-s:not(#_):not(#_){height:30px;min-height:30px;border:0;background:none;color:var(--status-done-fg);padding:0 6px}
html body #wkPage .pr-frow .bk-pk:not(#_):not(#_),html body #wkPage .pr-frow .bk-pkd:not(#_):not(#_){display:block;width:100%}
html body #wkPage .pr-frow .bk-pkb:not(#_):not(#_):not(#_){display:flex;width:100%;max-width:none;justify-content:space-between;border-radius:8px}
html body #wkPage .pr-frow .pr-wide:not(#_):not(#_):not(#_){border-radius:8px}
/* Production's status groups (10 November 2026): the heading's dot in its status colour; the block itself is every list's (hallmark.css) */
html body #wkPage .pr-sg i:not(#_):not(#_):not(#_){background:var(--ogc)!important}
html body #wkPage .pr-sg>button:not(#_):not(#_){display:flex;align-items:center;gap:8px;border:0;background:none;padding:0;font:inherit;cursor:pointer;color:inherit}
html body #wkPage .pr-sg>button svg:not(#_){width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;transition:transform var(--dur-fast,.12s)}
html body #wkPage .pr-sg>button[aria-expanded=true] svg:not(#_){transform:rotate(90deg)}
html body #wkPage .pr-sg em:not(#_){font-style:normal;color:var(--ink-muted);font-size:13px}
/* Production on a phone (11 November 2026, the approved phone mockups): Find, Filter and New job on one line; the status groups with their colour edge */
@media (max-width:860px){
  html body #wkPage .pr-pbar .pr-filter:not(#_){min-width:0}
  html body #wkPage .pr-pbar .pr-fbtn:not(#_):not(#_):not(#_){height:44px;min-height:44px;border-radius:999px;padding:0 16px}
  html body.fl-on #wkPage .pr-pbar:not(#_):not(#_){margin-bottom:6px}
  /* the status groups: white cards and grey labels, no colour edge (Rami, 12 November 2026: the shoot page's look) */
}
/* Production on a phone (Rami, 11 November 2026): only the title and the tabs at the top; Filter, Mine / To assign / All and the types
   are behind the floating Filter (they show pinned in its panel); one quiet "Showing …" line opens them */
@media (max-width:860px){
  html body.fl-on #wkPage :is(.pr-pbar,.pr-frows,#pqPhone>.mk-tabs,#pqPhone>.mk-strip):not(.ph-pin):not(#_):not(#_):not(#_){display:none!important}
  html body .ph-pin.pr-pbar:not(#_):not(#_):not(#_){display:flex!important;background:none}
  html body .ph-pin.pr-pbar :is(.pr-findw,.pr-new):not(#_):not(#_):not(#_):not(#_){display:none!important}
  html body .ph-pin.mk-strip:not(#_):not(#_):not(#_){overflow-x:auto;flex-wrap:nowrap}
  html body #wkPage .pq-now:not(#_):not(#_){display:inline-flex;align-items:center;gap:6px;margin:2px 0 8px;padding:6px 2px;border:0;background:none;color:var(--ink-muted);font:inherit;font-size:14px;cursor:pointer}
  html body #wkPage .pq-now b:not(#_){color:var(--c-ink);font-weight:600}
  /* Open | Done, as on a computer (the phone round, 15 November 2026): always on top, not behind the floating Filter */
  html body #wkPage #pqPhone>.pq-dv:not(#_):not(#_){margin:2px 0 4px}
  html body #wkPage .pq-row.is-done .mk-body b:not(#_){color:var(--ink-muted)}
}
@media (min-width:861px){html body #wkPage .pq-now:not(#_){display:none}}
@media (max-width:860px){
  html body .ph-pin.mk-tabs:not(#_):not(#_):not(#_){display:flex!important;gap:6px;padding:4px!important;border-radius:999px;background:var(--surface-sunken)}
  html body .ph-pin.mk-tabs>button:not(#_):not(#_):not(#_){flex:1 1 0;min-height:40px;border-radius:999px;border:0;background:transparent;color:var(--c-ink);font:inherit;font-weight:600;font-size:14px}
  html body .ph-pin.mk-tabs>button.on:not(#_):not(#_):not(#_){background:var(--c-ink);color:var(--surface)}
}

/* ---------- Tasks on a computer (Rami, 12 November 2026: review/tasks-desktop-mockup.html; public/work.js spaceTasks). The frame, card,
   tabs, sidebar and table are the space kit's (public/spacekit.css); these are Tasks' own parts. ---------- */
.tk-chips{display:inline-flex;gap:6px;flex-wrap:wrap}
.tk-chip:not(#_){border:0;border-radius:999px;padding:7px 13px;background:var(--surface);color:var(--c-ink);font-weight:600;font-size:13.5px;display:inline-flex;gap:6px;align-items:center;min-height:0;cursor:pointer}
.tk-chip em{font-style:normal;font-size:12px;color:var(--ink-subtle)}
.tk-chip.on:not(#_){background:var(--c-ink);color:var(--surface)}.tk-chip.on em{color:inherit;opacity:.75}
.tk-find .find{min-height:36px;border-radius:999px;width:220px;max-width:100%}
.tk-team{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;font-size:13.5px;align-items:center}
.tk-team>span{color:var(--ink-subtle)}.tk-team em{font-style:normal;font-size:12px;font-weight:600;background:var(--status-working-bg);color:var(--status-working-fg);border-radius:999px;padding:1px 7px;margin-left:4px}
.tk-team .sk-tmw.on{background:var(--primary-soft)}
.tk-subs{display:inline-flex;gap:8px;align-items:baseline;white-space:nowrap}
/* the whole Due cell opens the calendar (PROD-127), in the space table too (robot, 13 November 2026: only the small date did; the rest opened the panel) */
html body #wkPage .tk-tbl td[data-htc="due"] .ht-cell:not(#_){position:relative;cursor:pointer}
html body #wkPage .tk-tbl td[data-htc="due"] .pr-due .dpick:not(#_):not(#_):not(#_){position:static}
html body #wkPage .tk-tbl td[data-htc="due"] .pr-due .dpick > input[type=date]:not(#_):not(#_){position:absolute;inset:0;width:100%;height:100%;z-index:1}
/* a long client name is cut with … in its cell, never running into the Group column (13 November 2026) */
.tk-cl{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tk-cl .pr-pc{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.tk-tbl .wk-st,.tk-tbl .pk-mbtn{max-width:100%}
html body #wkPage .tk-tbl input[data-lj="grp"]:not(#_):not(#_){border-color:transparent!important;background:transparent!important;padding:0 6px;min-height:0;height:30px;width:100%}html body #wkPage .tk-tbl input[data-lj="grp"]:not(#_):not(#_):is(:hover,:focus){border-color:var(--border-strong)!important;background:var(--surface)!important}
/* a new task still being saved, or its files still going up (public/work.js lineCreate, 13 November 2026) */
.tk-bg{display:inline-flex;align-items:center;gap:5px;flex:0 1 auto;max-width:48%;min-width:0;overflow:hidden;font-size:12px;font-weight:600;color:var(--ink-subtle);white-space:nowrap}.tk-bg>span{overflow:hidden;text-overflow:ellipsis;min-width:0}
.tk-bg.bad{color:var(--status-stuck-fg,#b3361b)}.tk-bg .sd-flink{flex:none}.tk-bg .sd-flink{font-size:12px}
/* Tasks' cells (Rami's staging test, 13 November 2026: "a lot of its column data is cut off even though the column is plenty wide";
   the client-approval buttons drawn over the Description beside them): a cell's content fills its column (it was sized to its own
   text, less the pill's -6px margins, so "Bake & Co" showed as "Bake & C"), ends with "…" only at the column's edge, and never
   draws over the next column (the space table lets html cells overflow; here they are clipped, with room for a focus ring) */
html body #wkPage .tk-tbl .ht-cell:not(#_):not(#_){overflow:clip;overflow-clip-margin:3px}
html body #wkPage .tk-tbl .ht-cell>:first-child:not(#_):not(#_){flex:1 1 auto;min-width:0;max-width:100%}
html body #wkPage .tk-tbl .ht-cell>.sk-vn:first-child:not(#_):not(#_){width:auto}
html body #wkPage .tk-tbl .wk-go:not(#_){flex-wrap:wrap;max-width:100%}
html body #wkPage .tk-tbl td[data-htc="cl"] .sk-pill:not(#_){max-width:100%}
/* a note ends with "more" only when it really doesn't fit its three lines (public/fieldsets.js fitNotes measures it) */
html body #wkPage .tk-tbl .fs-note.fs-more-on:not(.fs-cut) .fs-more:not(#_):not(#_):not(#_){display:none}
html body #wkPage .tk-tbl .fs-note .fs-nt:not(#_):not(#_):not(#_){-webkit-line-clamp:2;line-clamp:2} /* two lines fit a row; three ran under the next one */
html body #wkPage .tk-tbl input[data-lj="grp"]:not(:focus):not(#_):not(#_){text-overflow:ellipsis} /* a long group's name ends with "…" at the column's edge */
/* Open | Done over the table (Rami, 13 November 2026, option A); a task finished today stays in Open, ticked and greyed, until the day ends */
.tk-dv{display:flex;margin:0 0 10px}
html body #wkPage .tk-tbl .tk-today{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:99px;background:var(--surface-2,var(--surface));color:var(--ink-muted);font-size:11px;font-weight:500;line-height:18px;vertical-align:middle;white-space:nowrap} /* finished today, still on Open until the day ends */
html body #wkPage .tk-tbl tr:has(.tk-today)>td:not(.ht-ctl) .ht-cell:not(#_){opacity:.55} /* the cell's content, not the cell: the sticky Task cell stays opaque over the columns scrolled under it */
/* a task's name renames it on a click (Rami, 16 November 2026), in Tasks' table and at the top of its panel: plain text until pointed at */
.tk-ren{all:unset;box-sizing:border-box;display:block;max-width:100%;min-width:0;cursor:text;border-radius:6px;padding:0 4px;margin:0 -4px}
.tk-ren b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-ren:hover,.tk-ren:focus-visible{background:var(--surface-2,rgba(0,0,0,.05));outline:none;box-shadow:inset 0 0 0 1px var(--line,rgba(0,0,0,.15))}
.sp-h .wk-renbox,.tk-tbl .wk-renbox{width:100%;min-width:0;font:inherit;font-weight:600}
.sp-h .tk-renh{display:inline;margin:0;padding:0 2px}.sp-h .tk-renh b{display:inline;white-space:normal;overflow:visible;text-overflow:clip} /* the panel's top keeps the whole name, as it did */
