/* Additions to the demo shell (not in the reference): the organisation switcher with real organisations (the logo chip is in
   shell-strip.css). A working organisation other than the person's own carries a tag and
   a tinted switch, so it is never mistaken for their own; the list can say why a choice is not available yet. */
.org-switch.away { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.org-tag {
  display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
  background: var(--surface); color: var(--accent); border: 1px solid var(--accent-line);
}

.org-pop { width: 306px; max-width: calc(100vw - 27px); }
.org-menu-head { padding: 7px 8.5px 3.5px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.org-menu-loading { display: grid; gap: 8px; padding: 9px 8.5px; }
.org-menu-loading .skel { height: 11px; width: 78%; }
.org-menu-loading .skel.short { width: 52%; }
.org-item[aria-disabled="true"] { cursor: default; }
.org-item[aria-disabled="true"] .org-badge, .org-item[aria-disabled="true"] .n { opacity: 0.55; }
.org-item[aria-disabled="true"]:hover { background: none; }
.org-item[aria-current="true"] { background: var(--accent-soft); }
.org-menu-foot { flex-direction: column; align-items: stretch; gap: 8.5px; }
.org-menu-note { display: flex; gap: 7px; align-items: flex-start; margin: 0; font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.org-menu-note .icon { flex: none; margin-top: 2px; color: var(--ink-3); }
@media (max-width: 520px) { .org-tag { display: none; } .org-switch.away .org-badge { box-shadow: 0 0 0 2px var(--accent); } }

/* A row's settings button (operator, 2026-11-06): a 26px square at the row's end, shown on hover or keyboard focus of the row (not
   the focus a pointer opening puts on the first row; always
   on touch screens), over the check column so the row keeps its layout; the current row's check gives way while it shows. The
   row's hover ground stays on while the pointer is on the button. Its tooltip is right-aligned so it stays inside narrow screens. */
.org-row { position: relative; }
.org-row:hover > .org-item:not([aria-disabled="true"]):not([aria-current="true"]) { background: var(--sunken); }
.org-set-wrap { position: absolute; top: 50%; right: 3.5px; transform: translateY(-50%); }
.org-set {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r-sm); color: var(--ink-2);
  opacity: 0; transition: opacity 0.12s, background 0.12s, color 0.12s;
}
.org-set .icon { color: inherit; }
.org-set:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); color: var(--ink); }
.org-row:hover .org-set, .org-row:has(:focus-visible) .org-set { opacity: 1; }
.org-row.has-set:hover > .org-item[aria-current="true"] > .icon, .org-row.has-set:has(:focus-visible) > .org-item[aria-current="true"] > .icon { visibility: hidden; }
.org-set-wrap .tip { left: auto; right: -3.5px; transform: none; }
.org-set-wrap .tip::after { left: auto; right: 12px; margin-left: 0; }
@media (hover: none) {
  .org-set { opacity: 1; }
  .org-row.has-set > .org-item[aria-current="true"] > .icon { visibility: hidden; }
  .org-set-wrap .tip { display: none; }
}
