.crm-team-photo-wrap{position:relative;min-width:0}.crm-team-photo-wrap>button[data-tree-project-image]{width:100%;padding-right:48px!important}.crm-team-photo-wrap>.crm-team-photo-star{background:var(--panel,#14212d)!important;touch-action:manipulation}.crm-team-home{grid-column:1/-1;width:100%;min-width:0;padding:14px 0;box-sizing:border-box}.crm-team-home[hidden]{display:none!important}.crm-team-home h3{font-size:14px;color:var(--muted);margin:0 0 8px}.crm-team-list{display:flex;flex-direction:column;gap:8px}.crm-team-entry{position:relative;border:1px solid var(--line,#658091);border-radius:12px;background:var(--panel,#14212d);padding-right:48px}.crm-team-entry>button[data-team-open]{display:block!important;width:100%;min-width:0;text-align:left!important;padding:12px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--text,#c7dce7)}.crm-team-entry strong{display:block;font-size:14px;overflow-wrap:anywhere}.crm-team-entry small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.crm-team-entry>.crm-drawing-star{top:50%!important;transform:translateY(-50%);color:#edb900!important}.crm-drawing-star.crm-team-priority,.crm-home-favorite-star.crm-team-priority{font-size:0!important;color:#c58cff!important;background:rgba(161,83,235,.12)!important}.crm-team-priority::before{content:'';display:block;width:26px;height:30px;background:currentColor;filter:drop-shadow(0 0 5px #b45cff99);clip-path:polygon(57% 0,10% 57%,44% 57%,32% 100%,94% 39%,59% 39%,76% 0)}.crm-team-priority-flash{overflow:visible!important;z-index:20!important}.crm-team-priority-flash::before{animation:crm-priority-flash 1.2s ease-out}.crm-team-priority-flash::after{content:'';position:absolute;pointer-events:none;inset:-24px;border-radius:50%;background:radial-gradient(circle,#f8eaffd9 0%,#d697ff99 22%,#ac50ff55 45%,transparent 72%);box-shadow:0 0 24px 10px #bd73ff88;animation:crm-priority-halo 1.2s ease-out}@keyframes crm-priority-flash{0%{filter:drop-shadow(0 0 4px #d9adff);transform:scale(.9)}22%{filter:drop-shadow(0 0 24px #f7eaff) brightness(3);transform:scale(1.65)}55%{filter:drop-shadow(0 0 18px #dba8ff) brightness(1.8);transform:scale(1.3)}100%{filter:drop-shadow(0 0 5px #b45cff99);transform:scale(1)}}@keyframes crm-priority-halo{0%{opacity:0;transform:scale(.35)}22%{opacity:1;transform:scale(1)}65%{opacity:.6;transform:scale(1.3)}100%{opacity:0;transform:scale(1.5)}}@media(prefers-reduced-motion:reduce){.crm-team-priority-flash::before{animation:none}.crm-team-priority-flash::after{animation:none;opacity:.35;inset:-8px}}.crm-team-priorities .crm-team-entry{border-color:#986ac2}.crm-team-photo-star{-webkit-touch-callout:none!important;user-select:none!important}

/* Small outline stars on thumbnails; retain the accessible touch target. */
.crm-team-photo-wrap>.crm-team-photo-star:not(.crm-team-priority){font-size:18px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.crm-team-photo-wrap>.crm-team-photo-star:not(.is-favorite):not(.crm-team-priority){color:#a8bbc8!important;text-shadow:none!important}

.crm-priority-screen-shake{animation:crm-priority-screen-shake .6s ease-out!important}.crm-priority-screen-flash{position:fixed;inset:0;z-index:2147483646;pointer-events:none;background:radial-gradient(circle at var(--flash-x) var(--flash-y),#f7eaffbb 0,#c982ff88 80px,#a33aff33 240px,transparent 65%);animation:crm-priority-screen-light .9s ease-out forwards}@keyframes crm-priority-screen-shake{0%,100%{transform:translate(0,0)}12%{transform:translate(-9px,2px) rotate(-.25deg)}26%{transform:translate(9px,-2px) rotate(.25deg)}40%{transform:translate(-7px,1px)}54%{transform:translate(6px,-1px)}68%{transform:translate(-4px,1px)}82%{transform:translate(2px,0)}}@keyframes crm-priority-screen-light{0%{opacity:0}18%{opacity:1}45%{opacity:.65}100%{opacity:0}}@media(prefers-reduced-motion:reduce){.crm-priority-screen-shake{animation:none!important}.crm-priority-screen-flash{animation:none;opacity:.18}}

.crm-home-favorite-entry>button.crm-home-favorite-star.crm-team-priority{font-size:0!important;color:#c58cff!important;background:rgba(161,83,235,.12)!important}.crm-home-favorite-entry>button[data-team-open]{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding-left:12px!important;padding-right:0!important}

/* Priority is an icon, never a separate filled button. */
.crm-drawing-star.crm-team-priority,
.crm-home-favorite-entry>button.crm-home-favorite-star.crm-team-priority,
.crm-team-photo-wrap>.crm-team-photo-star.crm-team-priority,
.crm-team-priority:hover,
.crm-team-priority:focus-visible{background:transparent!important;border:0!important;box-shadow:none!important}
