/* Team app wave 2 panels (local_team_plus.js). Builds on shiftops.css (so-*). */
:root:root .so-scrollx{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--nc-line,#dde3e8);border-radius:12px;background:var(--nc-panel,#fff)}
:root:root .tp-grid{border-collapse:collapse;font-size:13px;min-width:100%}
:root:root .tp-grid th,:root:root .tp-grid td{padding:6px 8px;border-bottom:1px solid var(--nc-line,#dde3e8);text-align:center;white-space:nowrap}
:root:root .tp-grid tbody th{text-align:left;font-weight:600;position:sticky;left:0;background:var(--nc-panel,#fff)}
:root:root .tp-cell{width:34px;height:34px;border-radius:8px;border:1px solid var(--nc-line,#dde3e8);font:inherit;font-weight:700;cursor:pointer;background:var(--nc-soft,#eef1f4);color:var(--nc-muted,#5f6b76)}
:root:root .tp-cell.ok{background:color-mix(in srgb,var(--nc-green,#2e7d32) 16%,transparent);color:var(--nc-green,#2e7d32);border-color:transparent}
:root:root .tp-tag{display:inline-block;border-radius:6px;padding:1px 6px;font-size:12px;font-weight:600;background:var(--nc-soft,#eef1f4)}
:root:root .tp-tag.high{background:color-mix(in srgb,var(--nc-red,#c0392b) 14%,transparent);color:var(--nc-red,#c0392b)}
:root:root .tp-tag.med{background:color-mix(in srgb,var(--nc-warn,#b7791f) 18%,transparent);color:var(--nc-warn,#8a5a00)}
:root:root .tp-field{border:1px dashed var(--nc-line,#c5cdd4);border-radius:10px;padding:8px;display:grid;gap:6px}
:root:root .tp-photos{display:flex;gap:6px;flex-wrap:wrap}
:root:root .tp-photos img{width:72px;height:72px;object-fit:cover;border-radius:8px}
/* phone fixes (QA on TEST 2026-11-22): the grid scrolls inside its box, not the whole panel; checkboxes stay checkbox-sized */
:root:root .so-scrollx{max-width:100%;min-width:0;contain:inline-size}
:root:root .so-inline input[type=checkbox],:root:root .so-chip input[type=checkbox]{flex:0 0 auto;width:auto;min-width:0;padding:0}
:root:root .tp-grid tbody th,:root:root .tp-grid thead th:first-child{max-width:min(40vw,220px);overflow:hidden;text-overflow:ellipsis;text-align:left}
