/* --wz-panel is the opaque skin surface; never use glass/overlay tokens here. */
.wos-context-menu { position: fixed; z-index: 2147483000; min-width: 170px; max-width: calc(100vw - 16px); padding: 5px; border: 1px solid var(--wz-border); border-radius: 10px; background: var(--wz-panel); color: var(--wz-text); box-shadow: 0 10px 30px color-mix(in srgb, var(--wz-base) 55%, transparent); font-family: var(--wz-font-ui); font-size: var(--wz-text-sm); line-height: 1.4; }
.wos-context-menu button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.wos-context-menu button:hover, .wos-context-menu button:focus-visible { background: var(--wz-base); outline: 2px solid var(--wz-accent); outline-offset: -2px; }
/* Rows with an icon (open() items with icon; the Android attach menu, wizard-ux issue 1639):
 * a round accent tile before the words and a taller touch target. Tokens only, so every skin colours it. */
.wos-context-menu.wos-cm-icons { min-width: 220px; padding: 6px; border-radius: 16px; }
.wos-context-menu.wos-cm-icons button { display: flex; align-items: center; gap: 14px; min-height: max(56px, var(--wz-target, 44px)); padding: 8px 14px 8px 8px; border-radius: 12px; font-size: var(--wz-text-lg); }
.wos-context-menu .wos-cm-tile { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--wz-accent) 18%, var(--wz-panel)); color: var(--wz-accent); }
.wos-context-menu .wos-cm-tile svg { width: 22px; height: 22px; }
.wos-context-menu .wos-cm-label { min-width: 0; overflow-wrap: anywhere; }
