/**
 * Plot permissions — one look, everywhere a plot appears.
 *
 * The admin dashboard and the player portal have separate base templates, and
 * both maps build their popups in the browser, so this is the only place all
 * four can share. Emitted identically by static/js/plot_perms.js and
 * templates/partials/_plot_members.html.
 */
/* Plot permissions — shared by both maps, the plot list, the profile
   and the investigation panel, so one plot reads the same everywhere. */
.pp { margin-top: .5rem; }
.pp-hd { font-size: .74rem; color: #8fa3b0; margin-bottom: .25rem; }
.pp-count { color: #6b7885; }
.pp-row { display: flex; justify-content: space-between; align-items: baseline;
          gap: .5rem; padding: 2px 0; border-bottom: 1px solid #1c2128; }
.pp-row:last-child { border-bottom: 0; }
.pp-who { font-size: .78rem; min-width: 0; overflow-wrap: anywhere; }
.pp-who-link { color: inherit; text-decoration: none; }
.pp-who-link:hover { text-decoration: underline; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 3px; justify-content: flex-end; }
.pp-chip { border-radius: 3px; padding: 0 5px; font-size: .66rem; white-space: nowrap;
           background: #26313a; border: 1px solid #33414d; color: #cbd5e1; }
/* Manage is the one that lets a member hand out access, so it is the one
   an admin scans for. Storage opens locked safes; both earn a color. */
.pp-chip-manage { background: #4a2f10; border-color: #7c5115; color: #fbbf24; }
.pp-chip-storage { background: #16323f; border-color: #1f5468; color: #7dd3fc; }
.pp-none { font-size: .68rem; color: #6b7885; font-style: italic; }
.pp-legacy { font-size: .62rem; color: #8fa3b0; border: 1px dashed #3a4652;
             border-radius: 3px; padding: 0 3px; margin-left: 3px; cursor: help; }
.pp-compact .pp-row { border-bottom: 0; padding: 1px 0; }
.pp-compact .pp-who { font-size: .74rem; }
[data-bs-theme="light"] .pp-row { border-bottom-color: #dee2e6; }
[data-bs-theme="light"] .pp-chip { background: #e9ecef; border-color: #ced4da; color: #212529; }
[data-bs-theme="light"] .pp-chip-manage { background: #fff3cd; border-color: #ffe08a; color: #664d03; }
[data-bs-theme="light"] .pp-chip-storage { background: #cff4fc; border-color: #9eeaf9; color: #055160; }
