/* Team access: tiles, People / Roles tabs, the permission matrix (design handoff, migration 097).
   Palette from the handoff README: ink #222, rules #222 at 2px, accent #DA720F, soft shadow #E5E8E7. */
#v-team .tm-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}
#v-team .tm-tile{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:10px;padding:18px 20px;background:#fff;border:2px solid #222;border-left-width:6px;border-radius:12px;box-shadow:4px 4px 0 #E5E8E7;min-width:0}
#v-team .tm-tile:nth-child(2){border-left-color:#DA720F}#v-team .tm-tile:nth-child(3){border-left-color:#007681}#v-team .tm-tile:nth-child(4){border-left-color:#949300}
#v-team .tm-tile:focus-visible{outline:3px solid #DA720F;outline-offset:2px}
#v-team .tm-tile-label{font-size:13px;color:#444}#v-team .tm-tile-value{font:400 34px/1 'Playfair Display',Georgia,serif;font-variant-numeric:lining-nums tabular-nums}#v-team .tm-tile-note{font-size:12px;color:#444}
#v-team .tm-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:2px solid #222;margin:0 0 20px}
#v-team .tm-tab{all:unset;box-sizing:border-box;cursor:pointer;padding:12px 16px;margin-bottom:-2px;border-bottom:3px solid transparent;font-size:15px;color:#666}
#v-team .tm-tab[aria-selected=true]{border-bottom-color:#DA720F;font-weight:600;color:#222}
#v-team .tm-tab:focus-visible{outline:3px solid #DA720F}
#v-team .tm-people{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
#v-team .tm-people-list{flex:2 1 460px;min-width:0}#v-team .tm-summary{flex:1 1 280px;min-width:0}
#v-team .tm-role-select{min-width:150px;max-width:100%}
#v-team .tm-summary-row{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:4px 0}
#v-team .tm-summary-foot{padding:12px 22px;border-top:1px solid #eee;background:#f9f9f9}
#v-team .tm-roles .card-h{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
#v-team .tm-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#444;align-items:center}
#v-team .tm-legend span{display:flex;align-items:center;gap:6px}
#v-team .tm-matrix{overflow-x:auto}
#v-team .tm-row{display:flex;align-items:center;min-width:640px;padding:8px 22px}
#v-team .tm-head{align-items:flex-end;background:#f9f9f9;border-bottom:1px solid #dadada;padding-top:12px;padding-bottom:12px}
#v-team .tm-perm{flex:1 1 260px;min-width:0;font-size:13px;line-height:1.4}
#v-team .tm-head .tm-perm{font:700 11px Roboto,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#666}
#v-team .tm-level{font-size:10px;color:#666;border:1px solid #bbb;border-radius:3px;padding:0 4px}
#v-team .tm-col{flex:0 0 110px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
#v-team .tm-col b{font-size:13px}#v-team .tm-col small{font-size:11px;color:#666}
#v-team .tm-area{padding:12px 22px 6px;font:700 11px Roboto,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#222;border-top:1px solid #eee}
#v-team .tm-cell{box-sizing:border-box;width:26px;height:26px;border-radius:5px;border:1px solid #bbb;background:#fff;color:#fff;font-size:12px;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
#v-team .tm-cell.on{background:#222;border:2px solid #222}
#v-team .tm-cell.locked{background:#666;border:2px solid #666;cursor:not-allowed}
#v-team .tm-cell:disabled{cursor:not-allowed}
#v-team .tm-cell:focus-visible{outline:3px solid #DA720F;outline-offset:2px}
#v-team .tm-foot{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;padding:14px 22px;border-top:2px solid #222;background:#f9f9f9}
#v-team .tm-foot .hint{flex:1 1 260px}
@media(max-width:760px){#v-team .tm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}#v-team .tm-people-list{flex-basis:100%}}
