/* ==================================================================
   P1 VENDOR HUB, PRECISION Today (portal v1.87). Classes: pzt-*.
   Sizes and spacing follow design/precision/Today.dc.html and
   TodayPhone.dc.html. Shared pieces (.pzbtn, .pzs, .pzcard) are in
   precision.css.
   ================================================================== */
html.pz-on .pzt{display:flex;flex-direction:column;gap:24px;max-width:1208px;box-sizing:border-box;width:100%;
  font-family:var(--pz-font);color:var(--pz-ink);font-size:14px;line-height:20px;font-variant-numeric:tabular-nums;padding:6px 0 24px}
html.pz-on .pzt *{box-sizing:border-box}
html.pz-on .pzt button{font-family:inherit}
html.pz-on .pzt-quiet{font-size:13px;color:#5f6b7d}

/* header */
html.pz-on .pzt-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px}
html.pz-on .pzt-head-l{min-width:0}
html.pz-on .pzt-date{font-size:13px;color:#5f6b7d}
html.pz-on .pzt-h1{margin:4px 0 0;font-family:var(--pz-hfont);font-weight:600;font-size:26px;line-height:34px;letter-spacing:-.01em;word-spacing:-.32em}
html.pz-on .pzt-sub{margin:6px 0 0;font-size:15px;line-height:22px;color:#475569}
html.pz-on .pzt-strip{width:340px;flex-shrink:0}
html.pz-on .pzt-strip-h{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:#5f6b7d;margin-bottom:8px;gap:12px}
html.pz-on .pzt-blocks{display:grid;gap:3px}
html.pz-on .pzt-blk{display:block;height:8px;border-radius:2px;border:1px solid #ED2024;box-sizing:border-box}
html.pz-on .pzt-blk.done{background:#0f172a}

/* filter row */
html.pz-on .pzt-filters{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:-8px}
html.pz-on .pzt-tabs{display:flex;gap:4px;flex-wrap:wrap}
html.pz-on .pzt-tab{height:32px;padding:0 12px;border-radius:8px;border:1px solid transparent;background:transparent;font-size:13px;color:#475569;
  display:flex;align-items:center;gap:8px;cursor:pointer}
html.pz-on .pzt-tab:hover{background:var(--pz-hover)}
html.pz-on .pzt-tab.on{border-color:var(--pz-line);background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.05);font-weight:700;color:var(--pz-ink)}
html.pz-on .pzt-tab span{color:#475569}
html.pz-on .pzt-tab span.c-late,html.pz-on .pzt-ptab b.c-late{color:#c8171b;font-weight:700}
html.pz-on .pzt-tab span.c-due,html.pz-on .pzt-ptab b.c-due{color:#b45309;font-weight:700}
html.pz-on .pzt-tab span.c-ready,html.pz-on .pzt-ptab b.c-ready{color:#15803d;font-weight:700}
html.pz-on .pzt-tab:focus-visible,html.pz-on .pzt-ptab:focus-visible,html.pz-on .pzt-scope button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
html.pz-on .pzt-scope{display:flex;align-items:center;gap:4px;padding:3px;border-radius:9px;background:#eef1f4;flex-shrink:0}
html.pz-on .pzt-scope button{height:26px;padding:0 10px;border-radius:6px;border:0;background:transparent;font-size:13px;color:#475569;cursor:pointer}
html.pz-on .pzt-scope button.on{background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.08);font-weight:700;color:var(--pz-ink)}
html.pz-on .pzt-ptabs{display:none}

/* the list card */
html.pz-on .pzt-list{overflow:hidden}
html.pz-on .pzt-th,html.pz-on .pzt-row{display:grid;grid-template-columns:16px 220px minmax(0,1fr) 124px 28px 264px;gap:16px;align-items:center;padding:0 20px}
html.pz-on .pzt-th{height:36px;font-size:12px;color:#5f6b7d;border-bottom:1px solid var(--pz-line);background:#fbfcfd}
html.pz-on .pzt-th .r{text-align:right}
html.pz-on .pzt-gh{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 20px;border-bottom:1px solid #eef1f4;background:#fbfcfd}
html.pz-on .pzt-gh-l{display:flex;align-items:center;gap:10px;font-size:13px}
html.pz-on .pzt-gh-r{font-size:12px}
html.pz-on .pzt-gw{font-weight:700;font-size:13px}
html.pz-on .pzt-gw.late{color:#c8171b}html.pz-on .pzt-gw.due{color:#b45309}html.pz-on .pzt-gw.ready{color:#15803d}html.pz-on .pzt-gw.vendor{color:#475569}
html.pz-on .pzt-row{min-height:64px;padding-top:12px;padding-bottom:12px;border-bottom:1px solid #eef1f4;cursor:default;position:relative}
html.pz-on .pzt-row.is-focus{background:#f8fafc;box-shadow:inset 0 0 0 1px #cbd5e1}
html.pz-on .pzt-row>div{min-width:0}
html.pz-on .pzt-ring{display:flex;align-items:center}
html.pz-on .pzt-name{font-weight:700;color:var(--pz-ink);text-decoration:none;overflow-wrap:anywhere}
html.pz-on .pzt-name:hover{text-decoration:underline;text-underline-offset:3px}
html.pz-on .pzt-name:focus-visible{outline:2px solid #2563eb;outline-offset:2px;border-radius:3px}
html.pz-on .pzt-what{overflow-wrap:anywhere}
html.pz-on .pzt-owner{display:flex}
html.pz-on .pzt-owner .pzav{width:24px;height:24px;font-size:10px}
html.pz-on .pzt-next{display:flex;justify-content:flex-end;align-items:center;gap:4px 12px;flex-wrap:wrap;min-width:0}
/* v1.88: a long vendor name plus "Find a vendor" no longer spills left over the Owner column; the link wraps and the button truncates. */
html.pz-on .pzt-next .pzbtn{max-width:100%;min-width:0;overflow:hidden;white-space:nowrap}
html.pz-on .pzt-next .pzbtn .pzbl{min-width:0;overflow:hidden;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
html.pz-on .pzt-next .pzbtn .pzkbd{flex-shrink:0}
html.pz-on .pzt-next .pzbtn{height:32px;padding:0 12px;font-weight:700}
html.pz-on .pzt-next .pzbtn.pri{padding:0 8px 0 12px}
html.pz-on .pzt-next .pzlink{font-size:13px;color:#475569;white-space:nowrap}
html.pz-on .pzt-more{display:grid;grid-template-columns:16px 220px minmax(0,1fr);gap:16px;align-items:center;width:100%;height:44px;padding:0 20px;border:0;
  border-bottom:1px solid #eef1f4;background:#fff;font-size:13px;color:#475569;text-align:left;cursor:pointer}
html.pz-on .pzt-more:hover{background:var(--pz-hover)}
html.pz-on .pzt-more b{color:var(--pz-ink)}
html.pz-on .pzt-more:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}
html.pz-on .pzt-legend{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:8px 20px;border-top:1px solid var(--pz-line);
  background:#fbfcfd;font-size:12px;color:#5f6b7d}
html.pz-on .pzt-keys{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
html.pz-on .pzt-keys span{display:flex;align-items:center;gap:6px}
html.pz-on .pzt-wide{padding:0 5px}

/* skeleton rows hold the same height as real rows */
html.pz-on .pzt-sk .pzsk{display:block}
html.pz-on .pzt-sk{min-height:64px}

/* states */
html.pz-on .pzt-clear{display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 24px;gap:10px}
html.pz-on .pzt-clear p{margin:0;max-width:440px;color:#475569;font-size:14px;line-height:21px}
html.pz-on .pzt-clear-t{font-size:20px;line-height:28px}
html.pz-on .pzt-clear-ring{display:flex}

/* three cards below */
html.pz-on .pzt-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
html.pz-on .pzt-bc{padding:18px 20px}
html.pz-on .pzt-bc-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
html.pz-on .pzt-bc-h h2{margin:0;font-size:15px;line-height:22px;font-weight:700}
html.pz-on .pzt-bc-p{margin:2px 0 14px;font-size:13px;color:#5f6b7d}
html.pz-on .pzt-vr{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:40px;border-top:1px solid #eef1f4}
html.pz-on .pzt-vt{font-size:13px;color:#475569}
html.pz-on .pzt-vt b{color:var(--pz-ink)}
html.pz-on .pzt-more-l{padding-top:10px;border-top:1px solid #eef1f4;font-size:13px}
html.pz-on .pzt-stat{display:flex;justify-content:space-between;font-size:13px;padding:10px 0;border-top:1px solid #eef1f4;margin-bottom:6px}
html.pz-on .pzt-go{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;font-weight:700;color:var(--pz-ink);text-decoration:none}
html.pz-on .pzt-go:hover{text-decoration:underline;text-underline-offset:3px}

/* sheets */
html.pz-on .pzt-sheet-wrap{position:fixed;inset:0;z-index:9000;background:rgba(15,23,42,.35);display:flex;align-items:center;justify-content:center;padding:16px}
html.pz-on .pzt-sheet{width:560px;max-width:100%;max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:#fff;border-radius:12px;
  box-shadow:var(--pz-shadow-pop);font-family:var(--pz-font);color:var(--pz-ink)}
html.pz-on .pzt-sheet-h{padding:18px 20px 12px;border-bottom:1px solid var(--pz-line)}
html.pz-on .pzt-sheet-h h2{margin:0;font-size:17px;line-height:24px}
html.pz-on .pzt-sheet-h p{margin:4px 0 0;font-size:13px;color:#5f6b7d}
html.pz-on .pzt-sheet-b{overflow:auto;padding:4px 20px}
html.pz-on .pzt-sheet-f{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--pz-line)}
html.pz-on .pzt-sr{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:56px;border-bottom:1px solid #eef1f4;font-size:14px}
html.pz-on .pzt-sr:last-child{border-bottom:0}
html.pz-on .pzt-sr-m{display:flex;flex-direction:column;min-width:0;cursor:default}
html.pz-on .pzt-sr-r{font-size:13px;color:#475569;text-align:right}
html.pz-on .pzt-ck{width:18px;height:18px;margin:0}
html.pz-on .pzt-ck-sp{display:block;width:18px}

/* phone only pieces are hidden on desktop */
html.pz-on .pzt-phone-list,html.pz-on .pzt-else{display:none}
html.pz-on .pzt-card{display:none}

@media (max-width:1100px){
  html.pz-on .pzt-head{flex-direction:column;align-items:flex-start;gap:16px}
  html.pz-on .pzt-strip{width:100%;max-width:420px}
  html.pz-on .pzt-cards{grid-template-columns:1fr}
  /* Narrow desktops and tablets: store, what is wrong and when on one line,
     the next step on its own line under them, the owner column dropped
     (it is the same person on most rows and the job page names them). */
  html.pz-on .pzt-th,html.pz-on .pzt-row{grid-template-columns:16px minmax(0,.9fr) minmax(0,1.3fr) 104px}
  html.pz-on .pzt-th>:nth-child(5),html.pz-on .pzt-th>:nth-child(6),html.pz-on .pzt-row>.pzt-owner{display:none}
  html.pz-on .pzt-row>.pzt-next{grid-column:2 / -1;justify-content:flex-start;flex-wrap:wrap}
}

@media (max-width:760px){
  html.pz-on .pzt{gap:16px;padding:0 0 28px}
  html.pz-on .pzt-h1{font-size:22px;line-height:30px}
  html.pz-on .pzt-sub{font-size:14px;margin-top:4px}
  html.pz-on .pzt-strip{max-width:none;margin-top:4px}
  html.pz-on .pzt-tabs,html.pz-on .pzt-th,html.pz-on .pzt-list,html.pz-on .pzt-cards{display:none}
  html.pz-on .pzt-filters{margin-bottom:0;flex-direction:column;align-items:stretch;gap:12px}
  html.pz-on .pzt-ptabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:3px;border-radius:11px;background:#eaedf1}
  html.pz-on .pzt-ptab{height:44px;border:0;border-radius:8px;background:transparent;font-size:13px;color:#475569;cursor:pointer}
  html.pz-on .pzt-ptab.on{background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.08);font-weight:700;color:var(--pz-ink)}
  html.pz-on .pzt-scope{align-self:flex-start}
  html.pz-on .pzt-scope button{height:36px;padding:0 14px}
  html.pz-on .pzt-phone-list{display:flex;flex-direction:column;gap:16px}
  html.pz-on .pzt-pg{display:flex;flex-direction:column;gap:8px}
  html.pz-on .pzt-pg-h{display:flex;align-items:baseline;gap:8px;padding:4px 4px 0;font-size:13px}
  html.pz-on .pzt-pcards{overflow:hidden}
  html.pz-on .pzt-card{display:block;padding:16px;border-bottom:1px solid #eef1f4;background:#fff}
  html.pz-on .pzt-card:last-child{border-bottom:0}
  html.pz-on .pzt-card.is-focus{background:#fff}
  html.pz-on .pzt-card-h{display:flex;align-items:center;gap:10px}
  html.pz-on .pzt-card-h .pzt-name{flex-grow:1;font-size:15px}
  html.pz-on .pzt-card-sub{margin:2px 0 0 26px}
  html.pz-on .pzt-card-p{margin:8px 0 0 26px}
  html.pz-on .pzt-card-b{display:flex;gap:8px;margin:14px 0 0 26px;align-items:center}
  html.pz-on .pzt-card-b .pzbtn{flex:1 1 auto;height:44px;border-radius:10px;font-size:14px}
  html.pz-on .pzt-card-b .pzlink{min-height:44px;padding:0 12px;display:flex;align-items:center;font-size:13px;color:#475569}
  html.pz-on .pzt-card .pzkbd{display:none}
  html.pz-on .pzt-more{height:52px;grid-template-columns:16px minmax(0,1fr);padding:0 16px}
  html.pz-on .pzt-more .pzt-quiet{display:none}
  html.pz-on .pzt-else{display:flex;flex-direction:column;gap:8px;margin-top:4px}
  html.pz-on .pzt-else-t{padding:4px 4px 0;font-size:13px;font-weight:700;color:#475569}
  html.pz-on .pzt-er{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 16px;border-bottom:1px solid #eef1f4;text-decoration:none;color:var(--pz-ink)}
  html.pz-on .pzt-er:last-child{border-bottom:0}
  html.pz-on .pzt-er .g{flex-grow:1;min-width:0;display:block}
  html.pz-on .pzt-er b{display:block;font-weight:700}
  html.pz-on .pzt-er i{font-style:normal;font-weight:400;color:#475569}
  html.pz-on .pzt-er small{display:block;font-size:13px;color:#5f6b7d;overflow-wrap:anywhere}
  html.pz-on .pzt-clear{padding:36px 16px}
  html.pz-on .pzt-sheet-wrap{align-items:flex-end;padding:0}
  html.pz-on .pzt-sheet{width:100%;border-radius:12px 12px 0 0;max-height:90vh}
  html.pz-on .pzt-sheet-f .pzbtn{height:44px}
  html.pz-on .pzt-ck{width:22px;height:22px}
  html.pz-on .pzt-sr{min-height:60px}
}

/* v1.90: the little ? next to the day strip label; the strip itself carries the explanation as a hover title. */
html.pz-on .pzt-strip{cursor:help}
html.pz-on .pzt-strip-i{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;margin-left:4px;border:1px solid #cbd5e1;border-radius:50%;font-size:10px;line-height:1;color:#64748b;vertical-align:1px}
