/* Press-select menu opened by property-menu.js from a .chip trigger. Same
   visual language as .more-menu (see dropdown.css) but a separate
   component -- it's a list of concrete values (Status/Duration/Assignee/
   Domain), not a list of actions. Open menus are promoted to the browser
   top layer so row-local stacking contexts cannot cover them. See GitHub
   issue #175 (Pattern 1). */

.property-menu {
  position: fixed;
  inset: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-overlay);
  box-shadow: var(--shadow-overlay);
  min-width: 140px;
  z-index: 10;
  overflow: hidden;
  padding: 0.25rem 0;
  list-style: none;
  margin: 0;
}

.property-menu-item-btn {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  background: none;
  border: none;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
}

.property-menu-item-btn:hover,
.property-menu-item-btn.armed {
  background: var(--surface-sunken);
}

.property-menu-item.is-current .property-menu-item-btn {
  font-weight: 600;
  color: var(--accent);
}

.property-menu--multiselect .property-menu-item-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-menu--multiselect input[type="checkbox"] {
  margin: 0;
  accent-color: var(--accent);
  pointer-events: none;
}

.property-menu-preset {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
  padding-bottom: 0.25rem;
  font-weight: 600;
}
